flame icon indicating copy to clipboard operation
flame copied to clipboard

The `ComponentViewportMargin` mixin should work with the `CameraComponent`

Open spydon opened this issue 2 years ago • 0 comments

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

spydon avatar May 22 '23 08:05 spydon