File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/com/cleanroommc/modularui/screen Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ public void onGuiInit(GuiScreenEvent.InitGuiEvent.Post event) {
106106 OverlayStack .foreach (ms -> ms .onResize (event .gui .width , event .gui .height ), false );
107107 }
108108
109- @ SubscribeEvent (priority = EventPriority .LOW )
109+ @ SubscribeEvent (priority = EventPriority .HIGH )
110110 public void onGuiInputLow (KeyboardInputEvent .Pre event ) throws IOException {
111111 defaultContext .updateEventState ();
112112 if (checkGui (event .gui )) currentScreen .getContext ().updateEventState ();
@@ -116,7 +116,7 @@ public void onGuiInputLow(KeyboardInputEvent.Pre event) throws IOException {
116116 }
117117 }
118118
119- @ SubscribeEvent (priority = EventPriority .LOW )
119+ @ SubscribeEvent (priority = EventPriority .HIGH )
120120 public void onGuiInputLow (MouseInputEvent .Pre event ) throws IOException {
121121 defaultContext .updateEventState ();
122122 if (checkGui (event .gui )) currentScreen .getContext ().updateEventState ();
You can’t perform that action at this time.
0 commit comments