mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Update selection rendering when font size changes
This commit is contained in:
@@ -575,6 +575,7 @@ class Editor extends View
|
||||
@updatePaddingOfRenderedLines()
|
||||
@handleScrollHeightChange()
|
||||
@updateCursorViews()
|
||||
@updateSelectionViews()
|
||||
@updateRenderedLines()
|
||||
|
||||
newSplitEditor: ->
|
||||
@@ -668,6 +669,10 @@ class Editor extends View
|
||||
for cursorView in @getCursorViews()
|
||||
cursorView.updateAppearance()
|
||||
|
||||
updateSelectionViews: ->
|
||||
for selectionView in @getSelectionViews()
|
||||
selectionView.updateAppearance()
|
||||
|
||||
syncCursorAnimations: ->
|
||||
for cursorView in @getCursorViews()
|
||||
do (cursorView) -> cursorView.resetCursorAnimation()
|
||||
|
||||
Reference in New Issue
Block a user