mirror of
https://github.com/penpot/penpot.git
synced 2025-01-27 00:49:28 -05:00
🐛 Selection tool not selected when editing shapes
This commit is contained in:
parent
3f887f20e9
commit
6d328e852d
1 changed files with 4 additions and 2 deletions
|
@ -69,13 +69,15 @@
|
||||||
[props]
|
[props]
|
||||||
(let [layout (obj/get props "layout")
|
(let [layout (obj/get props "layout")
|
||||||
selected-drawtool (mf/deref refs/selected-drawing-tool)
|
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
|
[:aside.left-toolbar
|
||||||
[:div.left-toolbar-inside
|
[:div.left-toolbar-inside
|
||||||
[:ul.left-toolbar-options
|
[:ul.left-toolbar-options
|
||||||
[:li.tooltip.tooltip-right
|
[:li.tooltip.tooltip-right
|
||||||
{:alt (tr "workspace.toolbar.move")
|
{: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)}
|
:on-click (st/emitf :interrupt)}
|
||||||
i/pointer-inner]
|
i/pointer-inner]
|
||||||
[:li.tooltip.tooltip-right
|
[:li.tooltip.tooltip-right
|
||||||
|
|
Loading…
Add table
Reference in a new issue