My Camera2D is flickering

My camera is rendering the incorrect position for a frame even though I’ve put in a debugging statement showing that the position is correct!

Camera2D contains a mutable state which needs to be communicated to a Viewport in the rendering server. This problem can be fixed by calling align() to force the state in the rendering server to be synced.

History

202305160150 202305160203 202305170041 202305170051 202305170056 202305170121 202305170218 202305170315