mirror of
https://github.com/penpot/penpot.git
synced 2025-06-07 22:01:38 +02:00
Fix undo redo buttons on workspace.
And add minor improvements to the undo/redo changes detection system.
This commit is contained in:
parent
df14f7e364
commit
d95b43f9c1
3 changed files with 4 additions and 3 deletions
|
@ -55,8 +55,8 @@
|
|||
page (mx/react refs/selected-page)
|
||||
flags (mx/react refs/flags)
|
||||
toggle #(st/emit! (dw/toggle-flag %))
|
||||
on-undo #(st/emit! (udh/backwards-to-previous-version))
|
||||
on-redo #(st/emit! (udh/forward-to-next-version))
|
||||
on-undo #(st/emit! (udu/undo))
|
||||
on-redo #(st/emit! (udu/redo))
|
||||
on-image #(udl/open! :import-image)
|
||||
on-download #(udl/open! :download)]
|
||||
[:header#workspace-bar.workspace-bar
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue