mirror of
https://github.com/penpot/penpot.git
synced 2026-03-14 06:17:25 +00:00
⚡ Optimize point functions
This commit is contained in:
committed by
alonso.torres
parent
c28534555b
commit
fc4e755f2b
@@ -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})
|
||||
|
||||
Reference in New Issue
Block a user