mengshukeji
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
src/controllers/handler.js
|
@ -4746,8 +4746,8 @@ export default function luckysheetHandler() { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
let newCanvas = $("<canvas>").attr({ |
|
|
let newCanvas = $("<canvas>").attr({ |
|
|
width: Math.ceil(ch_width * devicePixelRatio), |
|
|
width: Math.ceil(ch_width * Store.devicePixelRatio), |
|
|
height: Math.ceil(rh_height * devicePixelRatio) |
|
|
height: Math.ceil(rh_height * Store.devicePixelRatio) |
|
|
}).css({ width: ch_width, height: rh_height }); |
|
|
}).css({ width: ch_width, height: rh_height }); |
|
|
|
|
|
|
|
|
luckysheetDrawMain(scrollWidth, scrollHeight, ch_width, rh_height, 1, 1, null, null, newCanvas); |
|
|
luckysheetDrawMain(scrollWidth, scrollHeight, ch_width, rh_height, 1, 1, null, null, newCanvas); |
|
|