mirror of
https://github.com/atom/atom.git
synced 2026-01-25 14:59:03 -05:00
Don't reset editor's display layer when setting identical invisibles
This commit is contained in:
@@ -286,7 +286,7 @@ class TextEditor extends Model
|
||||
resetDisplayLayer = true
|
||||
|
||||
when 'invisibles'
|
||||
if value isnt @invisibles
|
||||
if not _.isEqual(value, @invisibles)
|
||||
@invisibles = value
|
||||
resetDisplayLayer = true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user