mirror of
https://github.com/penpot/penpot.git
synced 2026-06-02 05:30:19 +00:00
🔧 Lookup page objects only when value changes
This commit is contained in:
parent
a3119bef5e
commit
e33e8a8c3b
@ -305,7 +305,7 @@
|
|||||||
(l/derived #(dsh/lookup-shape % page-id shape-id) st/state =))
|
(l/derived #(dsh/lookup-shape % page-id shape-id) st/state =))
|
||||||
|
|
||||||
(def workspace-page-objects
|
(def workspace-page-objects
|
||||||
(l/derived dsh/lookup-page-objects st/state))
|
(l/derived dsh/lookup-page-objects st/state identical?))
|
||||||
|
|
||||||
(def workspace-read-only?
|
(def workspace-read-only?
|
||||||
(l/derived :read-only? workspace-global))
|
(l/derived :read-only? workspace-global))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user