mirror of
https://github.com/penpot/penpot.git
synced 2025-06-11 08:31:41 +02:00
✨ Improved opposite handler management
This commit is contained in:
parent
89f0f24707
commit
f8cf7103ca
3 changed files with 44 additions and 34 deletions
|
@ -368,7 +368,7 @@
|
|||
|
||||
calculate-vector
|
||||
(fn [point next prev]
|
||||
(let [base-vector (if (or (nil? next) (nil? prev))
|
||||
(let [base-vector (if (or (nil? next) (nil? prev) (= next prev))
|
||||
(-> (gpt/to-vec point (or next prev))
|
||||
(gpt/normal-left))
|
||||
(gpt/to-vec next prev))]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue