mirror of
https://github.com/penpot/penpot.git
synced 2026-02-13 07:02:58 +00:00
🔧 Lookup page objects only when value changes
This commit is contained in:
committed by
Alejandro Alonso
parent
a3119bef5e
commit
e33e8a8c3b
@@ -305,7 +305,7 @@
|
||||
(l/derived #(dsh/lookup-shape % page-id shape-id) st/state =))
|
||||
|
||||
(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?
|
||||
(l/derived :read-only? workspace-global))
|
||||
|
||||
Reference in New Issue
Block a user