fix(vxfw): use captureHandler during capture phase
This commit is contained in:
parent
22dcdb6bf3
commit
62854672ef
1 changed files with 1 additions and 1 deletions
|
@ -575,7 +575,7 @@ const FocusHandler = struct {
|
||||||
// Capturing phase
|
// Capturing phase
|
||||||
ctx.phase = .capturing;
|
ctx.phase = .capturing;
|
||||||
for (path[0..target_idx]) |widget| {
|
for (path[0..target_idx]) |widget| {
|
||||||
try widget.handleEvent(ctx, event);
|
try widget.captureEvent(ctx, event);
|
||||||
if (ctx.consume_event) return;
|
if (ctx.consume_event) return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue