Weird Ui displacement in 0.12 #10381
Replies: 4 comments 2 replies
-
I made a minimal reproduce code for sprite, any 16:9 image is ok
|
Beta Was this translation helpful? Give feedback.
-
Also it seems that the displacement sometimes will change depending on resolution and presumably UiScale |
Beta Was this translation helpful? Give feedback.
-
It looks like another problem with coordinate rounding. |
Beta Was this translation helpful? Give feedback.
-
I think I should open it as an issue?🤔 |
Beta Was this translation helpful? Give feedback.
-
Today I updated bevy to 0.12, and after migration I found this weird UI displacement


In 0.11, the ui works perfectly.
It happens when window resizes, also the ui that should be centered will also shift left by 1px.
Beta Was this translation helpful? Give feedback.
All reactions