mirror of
https://github.com/Creators-of-Create/Create.git
synced 2025-03-03 22:34:42 +01:00
Fix: Rotate Menu Keybind not supporting mouse buttons
This commit is contained in:
parent
41b6028c0b
commit
1dc990dfc4
1 changed files with 1 additions and 0 deletions
|
@ -59,6 +59,7 @@ public class InputEvents {
|
||||||
int button = event.getButton();
|
int button = event.getButton();
|
||||||
boolean pressed = !(event.getAction() == 0);
|
boolean pressed = !(event.getAction() == 0);
|
||||||
|
|
||||||
|
RadialWrenchHandler.onKeyInput(button, pressed);
|
||||||
if (CreateClient.SCHEMATIC_HANDLER.onMouseInput(button, pressed))
|
if (CreateClient.SCHEMATIC_HANDLER.onMouseInput(button, pressed))
|
||||||
event.setCanceled(true);
|
event.setCanceled(true);
|
||||||
else if (CreateClient.SCHEMATIC_AND_QUILL_HANDLER.onMouseInput(button, pressed))
|
else if (CreateClient.SCHEMATIC_AND_QUILL_HANDLER.onMouseInput(button, pressed))
|
||||||
|
|
Loading…
Add table
Reference in a new issue