Преглед изворни кода

修正流程属性滚动条偶尔失效的bug

huqi пре 5 година
родитељ
комит
b7fc0d1eed
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      o2web/source/o2_core/o2/widget/ScrollBar.js

+ 1 - 1
o2web/source/o2_core/o2/widget/ScrollBar.js

@@ -472,7 +472,7 @@ o2.widget.ScrollBar = new Class({
 
 
 				//		this.node.tween("margin-right", margin-scrollVNodeSize.x);
 				//		this.node.tween("margin-right", margin-scrollVNodeSize.x);
 			}
 			}
-			this.node.removeEvent("mousewheel", this.mousewheel);
+			//this.node.removeEvent("mousewheel", this.mousewheel);
 			this.node.removeEvent("touchmove", this.touchmove);
 			this.node.removeEvent("touchmove", this.touchmove);
 			if (Browser.name=="firefox"){
 			if (Browser.name=="firefox"){
 				this.node.removeEventListener("DOMMouseScroll", this.domMousewheel, false);
 				this.node.removeEventListener("DOMMouseScroll", this.domMousewheel, false);