v2.0.2: fixed bugs with dragging view + corners + controller cursor

This commit is contained in:
Evan Debenham
2023-04-10 16:49:12 -04:00
parent d31b539824
commit 1c944a0ada
4 changed files with 9 additions and 5 deletions

View File

@@ -51,7 +51,7 @@ public class Camera extends Gizmo {
public float[] matrix;
public boolean scrollable = false;
public PointF edgeScroll;
public PointF scroll;
public PointF centerOffset;
@@ -122,7 +122,8 @@ public class Camera extends Gizmo {
screenWidth = (int)(width * zoom);
screenHeight = (int)(height * zoom);
edgeScroll = new PointF();
scroll = new PointF();
centerOffset = new PointF();