mirror of
https://github.com/penpot/penpot.git
synced 2025-07-17 17:17:12 +02:00
🚧 Experimenting with some performance improvements.
This commit is contained in:
parent
31ffa73bda
commit
4cf7a48567
16 changed files with 299 additions and 267 deletions
|
@ -23,6 +23,6 @@
|
|||
[{:keys [sender point] :as message}]
|
||||
(let [point [(:x point) (:y point)]
|
||||
results (kd/nearest tree point 1)
|
||||
[[x y] d] (first results)
|
||||
[x y] (ffirst results)
|
||||
result (gpt/point x y)]
|
||||
(impl/reply! sender {:point (gpt/point x y)})))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue