mirror of
https://github.com/atom/atom.git
synced 2026-02-19 02:44:29 -05:00
Transform deprecated shadow DOM selectors
This commit is contained in:
@@ -538,7 +538,7 @@ class TextEditorComponent
|
||||
|
||||
screenPosition = @screenPositionForMouseEvent(event)
|
||||
|
||||
if event.target?.classList.contains('fold-marker')
|
||||
if event.target?.classList.contains('syntax--fold-marker')
|
||||
bufferPosition = @editor.bufferPositionForScreenPosition(screenPosition)
|
||||
@editor.destroyFoldsIntersectingBufferRange([bufferPosition, bufferPosition])
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user