mirror of
https://github.com/penpot/penpot.git
synced 2025-05-26 04:56:14 +02:00
🐛 Fix problem with make curve/corner in paths
This commit is contained in:
parent
4000855f45
commit
92b79f1731
1 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@
|
||||||
(make-corner nil))
|
(make-corner nil))
|
||||||
([point]
|
([point]
|
||||||
(process-path-tool
|
(process-path-tool
|
||||||
#{point}
|
(when point #{point})
|
||||||
(fn [content points]
|
(fn [content points]
|
||||||
(reduce upt/make-corner-point content points)))))
|
(reduce upt/make-corner-point content points)))))
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@
|
||||||
(make-curve nil))
|
(make-curve nil))
|
||||||
([point]
|
([point]
|
||||||
(process-path-tool
|
(process-path-tool
|
||||||
#{point}
|
(when point #{point})
|
||||||
(fn [content points]
|
(fn [content points]
|
||||||
(reduce upt/make-curve-point content points)))))
|
(reduce upt/make-curve-point content points)))))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue