Stop dragger from being grabbed when trace panel is hidden
When the dragger was hidden, it was just off screen, but its grab region included 5px of on-screen region. Now when we hide the dragger, we disable its grabber region.
This commit is contained in:
parent
924c7f8e19
commit
1ef6faa28a
|
@ -207,8 +207,8 @@
|
|||
:display "flex"
|
||||
:left left :top "0px" :width (str (* 100 @panel-width%) "%") :height "100%"
|
||||
:transition transition}}
|
||||
[:div.panel-resizer {:style (resizer-style draggable-area)
|
||||
:on-mouse-down #(reset! dragging? true)}]
|
||||
[:div.panel-resizer (when @showing? {:style (resizer-style draggable-area)
|
||||
:on-mouse-down #(reset! dragging? true)})]
|
||||
[container/devtools-inner opts]]]))})))
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue