mirror of
https://github.com/penpot/penpot.git
synced 2025-06-03 10:51:42 +02:00
Minor code reorganization and wip of colors page.
This commit is contained in:
parent
a93c6bfa45
commit
9c2c7f40ba
13 changed files with 221 additions and 56 deletions
|
@ -36,6 +36,18 @@
|
|||
|
||||
IPrintWithWriter
|
||||
(-pr-writer [mv writer _]
|
||||
(-write writer "#<event:u.s.p/toggle-tool>"))))
|
||||
(-write writer "#<event:u.s.p/toggle-toolbox>"))))
|
||||
|
||||
(defn initialize
|
||||
[projectid pageid]
|
||||
(reify
|
||||
rs/UpdateEvent
|
||||
(-apply-update [_ state]
|
||||
(let [s {:project projectid
|
||||
:toolboxes #{}
|
||||
:page pageid}]
|
||||
(assoc state :workspace s)))
|
||||
|
||||
IPrintWithWriter
|
||||
(-pr-writer [mv writer _]
|
||||
(-write writer "#<event:u.s.p/initialize>"))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue