mirror of
https://github.com/penpot/penpot.git
synced 2025-08-07 14:38:33 +02:00
♻️ Simplify audit events code
This commit is contained in:
parent
91118bec70
commit
1a12e63027
15 changed files with 320 additions and 230 deletions
|
@ -24,6 +24,7 @@
|
|||
[app.common.types.shape.interactions :as ctsi]
|
||||
[app.common.types.shape.layout :as ctl]
|
||||
[app.common.uuid :as uuid]
|
||||
[app.main.data.events :as ev]
|
||||
[app.main.data.modal :as md]
|
||||
[app.main.data.workspace.changes :as dch]
|
||||
[app.main.data.workspace.collapse :as dwc]
|
||||
|
@ -791,6 +792,9 @@
|
|||
(defn toggle-focus-mode
|
||||
[]
|
||||
(ptk/reify ::toggle-focus-mode
|
||||
ev/Event
|
||||
(-data [_] {})
|
||||
|
||||
ptk/UpdateEvent
|
||||
(update [_ state]
|
||||
(let [selected (wsh/lookup-selected state)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue