flame
flame copied to clipboard
The `ComponentViewportMargin` mixin should work with the `CameraComponent`
What could be improved
Currently the ComponentViewportMargin is using the size from the old camera, we should be using the size of the viewport in the CameraComponent or parent instead.
Why should this be improved
Since we are deprecating the old camera.
Any risks?
No, but it will be a breaking change.
More information
https://github.com/flame-engine/flame/pull/2538/files/4e3ad94a9ddb815d08828a47da280bec038b75dd#r1199839305