We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2f9c8f commit 702f039Copy full SHA for 702f039
1 file changed
app/editor/boot.js
@@ -796,12 +796,12 @@ thin.init_ = function() {
796
main.getMain().getElement().addEventListener('mousewheel', function(e) {
797
var workspace = thin.core.getActiveWorkspace();
798
if (!e.ctrlKey || !workspace) return;
799
- if(e.wheelDeltaY < 0) {
+ if (e.wheelDeltaY < 0) {
800
workspace.getAction().actionSetZoom(workspace.getUiStatusForZoom() - 10);
801
- }else {
+ } else {
802
workspace.getAction().actionSetZoom(workspace.getUiStatusForZoom() + 10);
803
}
804
- })
+ });
805
806
// Zoom in
807
var toolZoomIn = toolbar.setupChild('zoom-in',
0 commit comments