Skip to content

Commit

Permalink
fix: zoom button
Browse files Browse the repository at this point in the history
  • Loading branch information
F-star committed Feb 15, 2024
1 parent 0693c09 commit fe362ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/suika/src/components/ZoomActions/ZoomActions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,14 @@ export const ZoomActions: FC = () => {
id: 'zoom.zoomIn',
suffix: isWindows ? 'Ctrl++' : '⌘+',
action: () => {
editor?.zoomManager.zoomIn();
editor?.zoomManager.zoomIn({ enableLevel: true });
},
},
{
id: 'zoom.zoomOut',
suffix: isWindows ? 'Ctrl+-' : '⌘-',
action: () => {
editor?.zoomManager.zoomOut();
editor?.zoomManager.zoomOut({ enableLevel: true });
},
},
{
Expand Down

0 comments on commit fe362ff

Please sign in to comment.