mirror of
https://github.com/penpot/penpot.git
synced 2026-04-27 04:08:23 +00:00
Disable close path anchor on free drawing mode.
This commit is contained in:
parent
9e41946a05
commit
d6d38d207d
@ -89,11 +89,12 @@
|
||||
[:g
|
||||
(-> (assoc shape :drawing? true)
|
||||
(shapes/render-component))
|
||||
[:circle {:cx x
|
||||
:cy y
|
||||
:r 5
|
||||
:fill "red"
|
||||
:on-click on-click}]])))
|
||||
(when-not (:free shape)
|
||||
[:circle {:cx x
|
||||
:cy y
|
||||
:r 5
|
||||
:fill "red"
|
||||
:on-click on-click}])])))
|
||||
|
||||
;; --- Drawing Initialization
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user