Fixed test touch from ouse.

This commit is contained in:
Samuel Guerra 2023-09-15 20:37:32 -03:00
parent b17d70323d
commit 4d0131259c
2 changed files with 5 additions and 3 deletions

View File

@ -12,4 +12,6 @@
* Widgets may want to know what percentage of a widget is visible in the viewport, see flutter "slivers" concept.
- "Sliver" widgets may change size due to scrolling.
* Scroll-to-fill/fit.
* Scroll-to-fill/fit.
* Mouse grab/pan property.

View File

@ -1074,7 +1074,7 @@ impl AppExtension for TouchManager {
velocity: DipVector::zero(),
hits: HitTestInfo::no_hits(args.window_id), // hit-test deferred
target: InteractionPath::new(args.window_id, []),
})
});
}
} else {
self.on_move(args, mem::take(&mut pending_move));
@ -1144,7 +1144,7 @@ impl AppExtension for TouchManager {
args.device_id,
vec![TouchUpdate {
touch: id,
phase: TouchPhase::End,
phase: TouchPhase::Move,
position: args.position,
force: None,
}],