mirror of
https://github.com/atom/atom.git
synced 2026-01-24 06:18:03 -05:00
Hide line decorations for invalid markers again
This commit is contained in:
@@ -628,6 +628,8 @@ class TextEditorPresenter
|
||||
marker = decoration.getMarker()
|
||||
properties = decoration.getProperties()
|
||||
|
||||
return unless marker.isValid()
|
||||
|
||||
if range.isEmpty()
|
||||
return if properties.onlyNonEmpty
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user