Skip to content

Commit f2f9c8f

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/editor/boot.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,7 @@ thin.init_ = function() {
795795
// Mouse wheel zoom
796796
main.getMain().getElement().addEventListener('mousewheel', function(e) {
797797
var workspace = thin.core.getActiveWorkspace();
798-
if(e.ctrlKey != true || !workspace) return;
798+
if (!e.ctrlKey || !workspace) return;
799799
if(e.wheelDeltaY < 0) {
800800
workspace.getAction().actionSetZoom(workspace.getUiStatusForZoom() - 10);
801801
}else {

0 commit comments

Comments
 (0)