lambda-client / lambda

Minecraft utility mod coded in Kotlin
GNU Lesser General Public License v3.0
583 stars 144 forks source link

Improve GUI responsiveness and jank #543

Closed rfresh2 closed 1 year ago

rfresh2 commented 1 year ago

Describe the pull Fixes various gui issues where components are not correctly positioned for a few frames on init.

Moves important position updates off the tick event and onto the render event, massively increasing responsiveness. More should be done to move gui stuff off ticks. Basically nothing that affects render updates should happen on tick events. I've also added a RealWorldTickEvent to help with responsiveness while timer is enabled.

Avanatiker commented 1 year ago

Thanks a lot for this PR too :cat: