this repo has no description
13
fork

Configure Feed

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

mouse: always stop handling if event is consumed

The MouseHandler used to only consume the mouse events if there was a
last_handler widget defined AND whoever is using the API set
ctx.consume_event to true.

This change makes it so the event is consumed when ctx.consume_event is
set to true, even if there is no last_handler widget defined.

authored by

Kristófer R and committed by
Tim Culverhouse
382eb9a5 18cc67c6

+3 -3
+3 -3
src/vxfw/App.zig
··· 273 273 try app.handleCommand(&ctx.cmds); 274 274 } 275 275 self.maybe_last_handler = item.widget; 276 - return; 277 276 } 277 + return; 278 278 } 279 279 } 280 280 ··· 295 295 try app.handleCommand(&ctx.cmds); 296 296 } 297 297 self.maybe_last_handler = target.widget; 298 - return; 299 298 } 299 + return; 300 300 } 301 301 } 302 302 ··· 318 318 try app.handleCommand(&ctx.cmds); 319 319 } 320 320 self.maybe_last_handler = item.widget; 321 - return; 322 321 } 322 + return; 323 323 } 324 324 } 325 325