vxfw: don't clear ctx.cmds
We assert we have handled all commands before rendering. If we clear, we definitely will pass the assert, even if we don't handle them all.
This commit is contained in:
parent
4d927c4320
commit
a753e08f8a
1 changed files with 0 additions and 1 deletions
|
@ -118,7 +118,6 @@ pub fn run(self: *App, widget: vxfw.Widget, opts: Options) anyerror!void {
|
|||
// Reset our context
|
||||
ctx.consume_event = false;
|
||||
ctx.phase = .capturing;
|
||||
ctx.cmds.clearRetainingCapacity();
|
||||
}
|
||||
switch (event) {
|
||||
.key_press => {
|
||||
|
|
Loading…
Add table
Reference in a new issue