tmp debug

Signed-off-by: dignow <linlong1265@gmail.com>
This commit is contained in:
dignow 2023-08-10 01:02:27 +08:00
parent 93a600a0a8
commit 9e0feb0b64
2 changed files with 20 additions and 21 deletions

View file

@ -585,8 +585,8 @@ class InputModel {
late final dynamic evtValue;
if (type == 'pan_update') {
evtValue = {
'x': '${x.toInt()}',
'y': '${y.toInt()}',
'x': x.toInt(),
'y': y.toInt(),
};
} else {
final isMoveTypes = ['pan_start', 'pan_end'];
@ -601,8 +601,8 @@ class InputModel {
return;
}
evtValue = {
'x': '${pos.x}',
'y': '${pos.y}',
'x': pos.x,
'y': pos.y,
};
}