From 91a738bb262cbc937daa0496f2770b17094dfdfe Mon Sep 17 00:00:00 2001 From: echo Date: Fri, 15 Dec 2017 15:51:37 +0800 Subject: [PATCH] fix:Aways show canvas border --- libs/core.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/core.js b/libs/core.js index 10e25b92..75e03a49 100644 --- a/libs/core.js +++ b/libs/core.js @@ -2932,10 +2932,10 @@ core.prototype.resize = function(clientWidth, clientHeight) { { id: 'floorMsgGroup', rules:{ - width: canvasWidth + unit, - height: canvasWidth + unit, - top: 0, - right: 0, + width: (canvasWidth - SPACE*2) + unit, + height:(canvasWidth - SPACE*2) + unit, + top: SPACE + unit, + right: SPACE + unit, } }, {