Fix mouse wheel speed outside of gui screen on 1.13+

This commit is contained in:
Jonas Herzig
2019-07-27 11:49:51 +02:00
parent ea6e452dd0
commit 94d6e7cb4b

View File

@@ -40,7 +40,7 @@ public abstract class MixinMouseHelper {
//#endif //#endif
) { ) {
if (ReplayModReplay.instance.getReplayHandler() != null) { if (ReplayModReplay.instance.getReplayHandler() != null) {
InputReplayTimer.handleScroll((int) yOffsetAccumulated); InputReplayTimer.handleScroll((int) (yOffsetAccumulated * 120));
ci.cancel(); ci.cancel();
} }
} }