Add option to change mouse movement from Cinematic to Standard while in Angelica Zoom (#2166)

This commit is contained in:
Lumarin authored and GitHub committed 2026-09-29 17:02:55 -07:00
1 parent c10d30b2da
commit 977db3d604
6 files changed
+17 -3

No files matched your search

@@ -43,6 +43,10 @@ public class Zoom {
return zoomEnabled;
}
public static boolean isCinematicCameraEnabled(){
return (boolean)Settings.ZOOM_CINEMATIC.option.getStore();
}
public static void modifyZoom(int eventDWheel) {
if (eventDWheel == 0) return;
zoom = MathHelper.clamp_float((float) (zoom * Math.pow(ZOOM_STEP, Integer.signum(eventDWheel))), ZOOM_MIN, ZOOM_MAX);