0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-25 07:58:49 -05:00

🐛 Selection tool not selected when editing shapes

This commit is contained in:
alonso.torres 2020-12-23 12:33:20 +01:00
parent 3f887f20e9
commit 6d328e852d

View file

@ -69,13 +69,15 @@
[props]
(let [layout (obj/get props "layout")
selected-drawtool (mf/deref refs/selected-drawing-tool)
select-drawtool #(st/emit! :interrupt (dw/select-for-drawing %))]
select-drawtool #(st/emit! :interrupt (dw/select-for-drawing %))
edition (mf/deref refs/selected-edition)]
[:aside.left-toolbar
[:div.left-toolbar-inside
[:ul.left-toolbar-options
[:li.tooltip.tooltip-right
{:alt (tr "workspace.toolbar.move")
:class (when (nil? selected-drawtool) "selected")
:class (when (and (nil? selected-drawtool)
(not edition)) "selected")
:on-click (st/emitf :interrupt)}
i/pointer-inner]
[:li.tooltip.tooltip-right