littlektframework / littlekt

A multiplatform WebGPU 2D game framework written in Kotlin. Build your own game engine on top.
https://littlekt.com
Apache License 2.0
321 stars 12 forks source link

When using an `ExtendViewport` and the window width is bigger than the height, anything anchored to the right is pushed off screen #110

Closed LeHaine closed 2 years ago

LeHaine commented 2 years ago

An example is, if using a SceneGraph and anchoring a Label to the top right corner, when decreasing the window height so that the width is bigger, the text is pushed off screen to the right when it should stay at the top right.