googlearchive / core-splitter

A split bar and dragging on it will resize the sibling element
10 stars 12 forks source link

Fix a bug in directionChanged #12

Closed ImNotMyself closed 9 years ago

ImNotMyself commented 9 years ago

Should compare direction with 'right' and 'left' ?

frankiefu commented 9 years ago

No. The check is to determine if the resizable element is nextElementSibling (right or down) or previousElementSibling (left or up).