This commit is contained in:
Moulberry committed 2024-09-15 11:35:31 +08:00
1 parent 7f1d199704
commit be99313e81
47 files changed
+1247 -337

No files matched your search

@@ -22,6 +22,13 @@ public class MixinMouseHandler {
}
}
@Inject(method = {"onPress", "onScroll", "onMove"}, at = @At("HEAD"), cancellable = true)
public void onUseMouse(CallbackInfo ci) {
if (Flashback.isExporting()) {
ci.cancel();
}
}
@Inject(method = "grabMouse", at=@At("HEAD"), cancellable = true)
public void grabMouse(CallbackInfo ci) {
if (ReplayUI.isActive() || Flashback.isExporting()) {