this repo has no description
13
fork

Configure Feed

Select the types of activity you want to include in your feed.

vxfw(App): re-add timers which haven't expired yet

+5 -2
+5 -2
src/vxfw/App.zig
··· 196 196 197 197 // timers are always sorted descending 198 198 while (self.timers.popOrNull()) |tick| { 199 - if (now_ms < tick.deadline_ms) 199 + if (now_ms < tick.deadline_ms) { 200 + // re-add the timer 201 + try self.timers.append(tick); 200 202 break; 203 + } 201 204 try tick.widget.handleEvent(ctx, .tick); 202 - try self.handleCommand(&ctx.cmds); 203 205 } 206 + try self.handleCommand(&ctx.cmds); 204 207 } 205 208 206 209 const MouseHandler = struct {