Browse Source

fix(bug): bug

bug
master
wpxp123456 5 years ago
parent
commit
f53addbf70
  1. 4
      src/controllers/menuButton.js
  2. 4
      src/global/draw.js

4
src/controllers/menuButton.js

@ -3634,7 +3634,9 @@ const menuButton = {
"13": "Thick"
};
type = borderType[type.toString()];
type = borderType[type.toString()];
canvasborder.save();
try {
if(type == "Hair"){

4
src/global/draw.js

@ -1555,6 +1555,7 @@ function luckysheetDrawMain(scrollWidth, scrollHeight, drawWidth, drawHeight, of
canvas.stroke();
canvas.closePath();
canvas.restore();
}
let borderRightRender = function(style, color, start_r, start_c, end_r, end_c, offsetLeft, offsetTop, canvas){
@ -1571,6 +1572,7 @@ function luckysheetDrawMain(scrollWidth, scrollHeight, drawWidth, drawHeight, of
canvas.stroke();
canvas.closePath();
canvas.restore();
}
let borderBottomRender = function(style, color, start_r, start_c, end_r, end_c, offsetLeft, offsetTop, canvas){
@ -1587,6 +1589,7 @@ function luckysheetDrawMain(scrollWidth, scrollHeight, drawWidth, drawHeight, of
canvas.stroke();
canvas.closePath();
canvas.restore();
}
let borderTopRender = function(style, color, start_r, start_c, end_r, end_c, offsetLeft, offsetTop, canvas){
@ -1603,6 +1606,7 @@ function luckysheetDrawMain(scrollWidth, scrollHeight, drawWidth, drawHeight, of
canvas.stroke();
canvas.closePath();
canvas.restore();
}
let borderInfoCompute = getBorderInfoCompute();

Loading…
Cancel
Save