mirror of
https://github.com/penpot/penpot.git
synced 2025-07-29 18:07:15 +02:00
⚡ Optimize point functions
This commit is contained in:
parent
c28534555b
commit
fc4e755f2b
8 changed files with 589 additions and 155 deletions
|
@ -297,8 +297,8 @@
|
|||
(mapv (fn [[value points]]
|
||||
[(- value pval)
|
||||
(->> points (mapv #(vector point %)))])))))]
|
||||
{:x (query-coord point :x)
|
||||
:y (query-coord point :y)}))
|
||||
(gpt/point (query-coord point :x)
|
||||
(query-coord point :y))))
|
||||
|
||||
(defn merge-matches
|
||||
([] {:x nil :y nil})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue