Merge pull request #5424 from penpot/superalex-bugfixing-30

🐛 Bug fixing
This commit is contained in:
Eva Marco 2024-12-05 16:12:16 +01:00 committed by GitHub
commit 69df69c4bb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
32 changed files with 32 additions and 37 deletions

View file

@ -447,11 +447,6 @@
:subsections [:panels]
:fn #(st/emit! (dw/go-to-layout :assets))}
:toggle-history {:tooltip (ds/alt "H")
:command (ds/a-mod "h")
:subsections [:panels]
:fn #(emit-when-no-readonly (dw/go-to-layout :document-history))}
:toggle-colorpalette {:tooltip (ds/alt "P")
:command (ds/a-mod "p")
:subsections [:panels]

View file

@ -243,8 +243,8 @@
(when-not ^boolean read-only?
[:div {:class (stl/css :history-section)}
[:button
{:title (tr "workspace.sidebar.history" (sc/get-tooltip :toggle-history))
:aria-label (tr "workspace.sidebar.history" (sc/get-tooltip :toggle-history))
{:title (tr "workspace.sidebar.history")
:aria-label (tr "workspace.sidebar.history")
:class (stl/css-case :selected (contains? layout :document-history)
:history-button true)
:on-click toggle-history}