mirror of
https://github.com/atom/atom.git
synced 2026-02-16 01:25:13 -05:00
add specs which simulate mouse action in PaneResizeHandleElement to test the resize behavior.
This commit is contained in:
@@ -10,6 +10,7 @@ class PaneResizeHandleElement extends HTMLElement
|
||||
|
||||
attachedCallback: ->
|
||||
@isHorizontal = @parentElement.classList.contains("horizontal")
|
||||
@classList.add if @isHorizontal then 'horizontal' else 'vertical'
|
||||
|
||||
resizeToFitContent: ->
|
||||
# clear flex-grow css style of both pane
|
||||
|
||||
Reference in New Issue
Block a user