mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
add safeguard for multiple resizeStarted calls
This commit is contained in:
@@ -26,6 +26,7 @@ class PaneResizeHandleElement extends HTMLElement
|
||||
|
||||
resizeStarted: (e) ->
|
||||
e.stopPropagation()
|
||||
if @over then @removeChild @over
|
||||
@over = document.createElement('div')
|
||||
@over.classList.add('atom-panels-cursor-overlay')
|
||||
@over.classList.add(if @isHorizontal then 'horizontal' else 'vertical')
|
||||
|
||||
Reference in New Issue
Block a user