From 0de110608c05522355a42600e5f1d289501a1464 Mon Sep 17 00:00:00 2001 From: zoff99 Date: Sat, 30 Nov 2024 12:18:28 +0100 Subject: [PATCH] setMaxScale did not work, because it set minScale instead of maxScale https://github.com/DevLucem/ZoomableVideo/pull/6 --- .../app/src/main/java/com/lucem/lib/ZoomableTextureView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android-refimpl-app/app/src/main/java/com/lucem/lib/ZoomableTextureView.java b/android-refimpl-app/app/src/main/java/com/lucem/lib/ZoomableTextureView.java index 650b1ab41..fe55385fc 100644 --- a/android-refimpl-app/app/src/main/java/com/lucem/lib/ZoomableTextureView.java +++ b/android-refimpl-app/app/src/main/java/com/lucem/lib/ZoomableTextureView.java @@ -65,7 +65,7 @@ public void setMaxScale(float scale) } else { - minScale = scale; + maxScale = scale; } }