Merge pull request #12977 from atom/ns-dont-share-overlay-dimensions

Don't share overlayDimensions across instances
This commit is contained in:
Nathan Sobo 2016-10-13 23:11:52 -06:00 committed by GitHub
commit fb1cf82a82

View File

@ -9,7 +9,7 @@ class TextEditorPresenter
startBlinkingCursorsAfterDelay: null
stoppedScrollingTimeoutId: null
mouseWheelScreenRow: null
overlayDimensions: {}
overlayDimensions: null
minimumReflowInterval: 200
constructor: (params) ->
@ -31,6 +31,7 @@ class TextEditorPresenter
@lineDecorationsByScreenRow = {}
@lineNumberDecorationsByScreenRow = {}
@customGutterDecorationsByGutterName = {}
@overlayDimensions = {}
@observedBlockDecorations = new Set()
@invalidatedDimensionsByBlockDecoration = new Set()
@invalidateAllBlockDecorationsDimensions = false