iconLib.onmousedown

core.__size__==13?630:655
This commit is contained in:
YouWei Zhao 2019-04-16 11:40:13 -04:00
parent 7deec138ed
commit 6a49cf89a1

View File

@ -409,7 +409,7 @@ editor.constructor.prototype.listen=function () {
var iconLib=document.getElementById('iconLib');
iconLib.onmousedown = function (e) {
e.stopPropagation();
if (!editor.isMobile && e.clientY>=(635 - 5 - scrollBarHeight)) return;
if (!editor.isMobile && e.clientY>=((core.__size__==13?630:655) - scrollBarHeight)) return;
var scrollLeft = document.documentElement.scrollLeft || document.body.scrollLeft;
var scrollTop = document.documentElement.scrollTop || document.body.scrollTop;
var loc = {