Skip to content

Commit

Permalink
Fix camera scaling not being copied to the playfield camera.
Browse files Browse the repository at this point in the history
Signed-off-by: Kristian Gergov <[email protected]>
  • Loading branch information
t1stm committed Oct 7, 2024
1 parent 235780d commit d01eea7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ThirtyDollarVisualizer/Objects/DollarStoreCamera.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d01eea7

Please sign in to comment.