You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The use case here is somebody wanting to bind shift-left-click to a HUD action, while not triggering the main game context left-click behavior. I suspect if I do this, I'm going to have to switch to acting on key-down instead of key-up, which is something I'm going to have to test carefully. It's a lot of long-standing code in the trickiest paths. OTOH, a third rewrite of that stuff will probably improve on the current implementation.
Take the approach here in the menu handler and apply it here in the gameplay key event handler when we know we did something with it. Also review the Rust-side handler logic to be sure it's returning the right thing every time, because until we make this change we won't have been relying on that being correct.
The text was updated successfully, but these errors were encountered:
Using the same technique as with menu button events: if
we handled it, we wipe out the event data so later processing
will skip it. This should address bug #87. Dry-coded; needs
testing.
The use case here is somebody wanting to bind shift-left-click to a HUD action, while not triggering the main game context left-click behavior. I suspect if I do this, I'm going to have to switch to acting on key-down instead of key-up, which is something I'm going to have to test carefully. It's a lot of long-standing code in the trickiest paths. OTOH, a third rewrite of that stuff will probably improve on the current implementation.
Take the approach here in the menu handler and apply it here in the gameplay key event handler when we know we did something with it. Also review the Rust-side handler logic to be sure it's returning the right thing every time, because until we make this change we won't have been relying on that being correct.
The text was updated successfully, but these errors were encountered: