Fixed test touch from ouse.
This commit is contained in:
parent
b17d70323d
commit
4d0131259c
|
@ -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.
|
|
@ -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,
|
||||
}],
|
||||
|
|
Loading…
Reference in New Issue