mirror of
https://github.com/architectury/architectury-api.git
synced 2026-03-28 11:57:01 -05:00
ScreenInputDelegate: Call MOUSE_DRAGGED_POST correctly
It was erroneously calling the PRE event twice.
This commit is contained in:
committed by
GitHub
parent
11ef83f9de
commit
8e912bc10b
@@ -41,7 +41,7 @@ public interface ScreenInputDelegate {
|
||||
return true;
|
||||
if (parent.mouseDragged(d, e, i, f, g))
|
||||
return true;
|
||||
return ClientScreenInputEvent.MOUSE_DRAGGED_PRE.invoker().mouseDragged(Minecraft.getInstance(), parent, d, e, i, f, g).isPresent();
|
||||
return ClientScreenInputEvent.MOUSE_DRAGGED_POST.invoker().mouseDragged(Minecraft.getInstance(), parent, d, e, i, f, g).isPresent();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user