Skip to content

Commit 702f039

Browse files
Update app/editor/boot.js
Co-authored-by: Katsuya HIDAKA <hidakatsuya@users.noreply.github.com>
1 parent f2f9c8f commit 702f039

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

app/editor/boot.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -796,12 +796,12 @@ thin.init_ = function() {
796796
main.getMain().getElement().addEventListener('mousewheel', function(e) {
797797
var workspace = thin.core.getActiveWorkspace();
798798
if (!e.ctrlKey || !workspace) return;
799-
if(e.wheelDeltaY < 0) {
799+
if (e.wheelDeltaY < 0) {
800800
workspace.getAction().actionSetZoom(workspace.getUiStatusForZoom() - 10);
801-
}else {
801+
} else {
802802
workspace.getAction().actionSetZoom(workspace.getUiStatusForZoom() + 10);
803803
}
804-
})
804+
});
805805

806806
// Zoom in
807807
var toolZoomIn = toolbar.setupChild('zoom-in',

0 commit comments

Comments
 (0)