mirror of
https://github.com/darksaid98/Flashback.git
synced 2026-12-01 22:16:01 +00:00
0.7.0
This commit is contained in:
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()) {
|
||||
|
||||
Reference in new issue
Block a user