fix(vxfw): use captureHandler during capture phase

This commit is contained in:
Tim Culverhouse 2024-11-20 10:58:13 -06:00
parent 22dcdb6bf3
commit 62854672ef

View file

@ -575,7 +575,7 @@ const FocusHandler = struct {
// Capturing phase
ctx.phase = .capturing;
for (path[0..target_idx]) |widget| {
try widget.handleEvent(ctx, event);
try widget.captureEvent(ctx, event);
if (ctx.consume_event) return;
}