stackotter / delta-client

An open source Minecraft Java Edition client built for speed.
https://deltaclient.app
GNU General Public License v3.0
323 stars 33 forks source link

Progress bar position lags behind where it should be when resizing the window #86

Closed stackotter closed 2 years ago

stackotter commented 2 years ago

Describe the bug See the two screenshots below (before and during resizing the window). This is an older build of the new loading screen in the screenshots but it still affects the latest build of the new-ui-design branch.

Screen Shot 2022-02-08 at 18 53 46

Screen Shot 2022-02-08 at 18 54 01

To Reproduce Steps to reproduce the behavior:

  1. Open Delta Client (in a debug build so that it's on the loading screen longer, or add an artificial delay to the loading process)
  2. Resize the window and observe the progress bar lag behind the rest of the view (only the bar itself not the progress bar's border)

Expected behavior The progress bar moves with the rest of the screen

Additional context I think it's because the ease in out animation applies to all of the bar's properties and not just its width.