mirror of
https://github.com/penpot/penpot.git
synced 2025-05-07 14:06:01 +02:00
🐛 Fix increase and decrease zoom
This commit is contained in:
parent
0c12d7b0d2
commit
481a43096e
2 changed files with 4 additions and 4 deletions
|
@ -1497,8 +1497,8 @@
|
|||
"ctrl+shift+l" #(st/emit! (toggle-layout-flag :layers))
|
||||
"ctrl+shift+r" #(st/emit! (toggle-layout-flag :rules))
|
||||
"ctrl+shift+d" #(st/emit! (toggle-layout-flag :dynamic-alignment))
|
||||
"+" #(st/emit! increase-zoom)
|
||||
"-" #(st/emit! decrease-zoom)
|
||||
"+" #(st/emit! (increase-zoom nil))
|
||||
"-" #(st/emit! (decrease-zoom nil))
|
||||
"ctrl+g" #(st/emit! create-group)
|
||||
"ctrl+shift+g" #(st/emit! remove-group)
|
||||
"shift+0" #(st/emit! reset-zoom)
|
||||
|
|
|
@ -143,8 +143,8 @@
|
|||
[:div.options-section
|
||||
[:& zoom-widget
|
||||
{:zoom zoom
|
||||
:on-increase #(st/emit! dw/increase-zoom)
|
||||
:on-decrease #(st/emit! dw/decrease-zoom)
|
||||
:on-increase #(st/emit! (dw/increase-zoom nil))
|
||||
:on-decrease #(st/emit! (dw/decrease-zoom nil))
|
||||
:on-zoom-reset #(st/emit! dw/reset-zoom)
|
||||
:on-zoom-fit #(st/emit! dw/zoom-to-fit-all)
|
||||
:on-zoom-selected #(st/emit! dw/zoom-to-selected-shape)}]
|
||||
|
|
Loading…
Add table
Reference in a new issue