From d01eea76813485dec30645c9db8a3f0e9f0d6381 Mon Sep 17 00:00:00 2001 From: Kristian Gergov Date: Mon, 7 Oct 2024 23:43:50 +0300 Subject: [PATCH] Fix camera scaling not being copied to the playfield camera. Signed-off-by: Kristian Gergov --- ThirtyDollarVisualizer/Objects/DollarStoreCamera.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ThirtyDollarVisualizer/Objects/DollarStoreCamera.cs b/ThirtyDollarVisualizer/Objects/DollarStoreCamera.cs index 67f1533..3924baf 100644 --- a/ThirtyDollarVisualizer/Objects/DollarStoreCamera.cs +++ b/ThirtyDollarVisualizer/Objects/DollarStoreCamera.cs @@ -92,7 +92,8 @@ public void CopyFrom(DollarStoreCamera camera) Viewport = camera.Viewport; _position = camera.Position; projection_matrix = camera.GetProjectionMatrix(); - SetRenderScale(camera.RenderScale); + RenderScale = camera.RenderScale; + Scale = camera.Scale; } protected override void SetMatrixValue(float left, float right, float bottom, float top)