mirror of
https://github.com/penpot/penpot.git
synced 2025-08-07 14:38:33 +02:00
✨ Improved performance on moving and zooming
This commit is contained in:
parent
96fbc83a0a
commit
12b4951994
10 changed files with 142 additions and 64 deletions
|
@ -49,6 +49,10 @@
|
|||
(def selected-shapes
|
||||
(l/derived :selected workspace-local))
|
||||
|
||||
(defn make-selected-ref
|
||||
[id]
|
||||
(l/derived #(contains? % id) selected-shapes))
|
||||
|
||||
(def selected-zoom
|
||||
(l/derived :zoom workspace-local))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue