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 evtY = 0;
try {
x.round();
y.round();
evtX = x.round();
evtY = y.round();
} catch (e) {
debugPrintStack(
label: 'canvasModel.scale value ${canvasModel.scale}, $e');