From 138800ed0747d1ae9d403558f1275e20fbb4081b Mon Sep 17 00:00:00 2001 From: ckcz123 Date: Wed, 17 Jun 2020 21:01:09 +0800 Subject: [PATCH] Fix scrollbar --- _server/editor_blocklyconfig.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_server/editor_blocklyconfig.js b/_server/editor_blocklyconfig.js index 36452a2c..f68ddf6e 100644 --- a/_server/editor_blocklyconfig.js +++ b/_server/editor_blocklyconfig.js @@ -417,7 +417,7 @@ document.getElementById('blocklyDiv').onmousewheel = function(e){ var mousewheelOffsetValue=20/380*workspace.scrollbar[hvScroll].handleLength_*3; workspace.scrollbar[hvScroll].handlePosition_+=( ((e.deltaY||0)+(e.detail||0)) >0?mousewheelOffsetValue:-mousewheelOffsetValue); workspace.scrollbar[hvScroll].onScroll_(); - workspace.setScale(workspace.scale); + // workspace.setScale(workspace.scale); } var doubleClickCheck=[[0,'abc']];