Page MenuHomeWildfire Games

Fix game speed button being unusable in min resolution
ClosedPublic

Authored by Imarok on Jan 16 2021, 10:10 PM.

Details

Summary

When one observes a player the follow button text overlays the game speed button so the game speed button gets unusable.
The code test if it has to hide the follow button text but only does so on windowResize.
Do it also on init.

Test Plan

Test if the follow button text gets always hidden when it should.

Diff Detail

Repository
rP 0 A.D. Public Repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Imarok created this revision.Jan 16 2021, 10:10 PM
Imarok requested review of this revision.Jan 17 2021, 1:02 AM
ffffffff accepted this revision.Jan 17 2021, 1:17 AM
ffffffff added a reviewer: ffffffff.

Works as expected. Button is again usable.
Lul semicolon missing. Well imarok will handle that. :D

This revision is now accepted and ready to land.Jan 17 2021, 1:18 AM

Works as expected. Button is again usable.
Lul semicolon missing. Well imarok will handle that. :D

I knew I uploaded a diff with a missing semi. I just couldn't find the diff anymore xD

This revision was landed with ongoing or failed builds.Jan 20 2021, 9:49 PM
This revision was automatically updated to reflect the committed changes.