diff --git a/libs/core.js b/libs/core.js index 75e03a49..bac51975 100644 --- a/libs/core.js +++ b/libs/core.js @@ -2797,7 +2797,7 @@ core.prototype.resize = function(clientWidth, clientHeight) { toolBarWidth, toolBarHeight, toolBarTop, toolBarBorder, toolsWidth, toolsHeight,toolsMargin,toolsPMaxwidth, fontSize, margin; - + var count = 9; if (!core.flags.enableMDef) count--; if (!core.flags.enableExperience) count--; @@ -2934,7 +2934,7 @@ core.prototype.resize = function(clientWidth, clientHeight) { rules:{ width: (canvasWidth - SPACE*2) + unit, height:(canvasWidth - SPACE*2) + unit, - top: SPACE + unit, + top: (canvasTop + SPACE) + unit, right: SPACE + unit, } },