Sander Mertens

Results 49 comments of Sander Mertens
trafficstars

@dkantowitz Sort of. Let me clarify. This is what I'm thinking the base replicator class could look like: ``` c void notifyAction(object observable) delegate class replicator:: // callbacks that allow...

With the new introduction of `corto_selectContentType` the above suggestion for `corto_selectAsync` would not work, since this would give the user no opportunity to set the content type before select starts...

The general rule of no data-loss is useful when translating between integers. The one thing I wouldn't do is having to explicitly cast everything to a bool. I'd like to...

The most succint implementation I can think of is a server with exactly two endpoints: - `y` - `y_not` Each endpoint will produce a 301 that redirects to the other.

Just ran into the same issue, support for this would be great.

I tried changing it to `_sapp.html5_canvas_selector`, but then the canvas doesn't receive keyboard events, not even when focused. I'll give registering/unregistering listeners on focus/blur a go & let you know...

Here is an example of the solution working in practice: https://www.flecs.dev/explorer/?wasm=https://www.flecs.dev/explorer/playground.js When you click on the canvas I toggle call `Module.sokol_capture_keyboard_events` with `true` or `false`.

Makes sense. It would be nice if the final solution still provides some explicit control. For example, if you have a fullscreen canvas you want keyboard events to get captured...

Is the goal of `sapp_consume_event` to stop an event from propagating? I think that could be useful yeah, but doesn't solve the issue of the PR which is kind of...

Hm, I don't think that solving this in native code would work for me. For example, in this app the default is for the UI to capture events, but you...