fix assign

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou 2023-02-26 23:31:11 +08:00
parent 0a52d64900
commit 544e39e11c

View File

@ -506,8 +506,8 @@ class InputModel {
var evtX = 0; var evtX = 0;
var evtY = 0; var evtY = 0;
try { try {
x.round(); evtX = x.round();
y.round(); evtY = y.round();
} catch (e) { } catch (e) {
debugPrintStack( debugPrintStack(
label: 'canvasModel.scale value ${canvasModel.scale}, $e'); label: 'canvasModel.scale value ${canvasModel.scale}, $e');