mirror of
https://github.com/penpot/penpot.git
synced 2025-05-18 20:56:11 +02:00
Disable close path anchor on free drawing mode.
This commit is contained in:
parent
9e41946a05
commit
d6d38d207d
1 changed files with 6 additions and 5 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue