Add resizing code for soccer setup screen

This commit is contained in:
CodingJellyfish 2024-05-03 18:02:46 +08:00
parent 31239615ef
commit e52b2fafdc

View File

@ -78,6 +78,12 @@ public:
virtual bool onEscapePressed() OVERRIDE; virtual bool onEscapePressed() OVERRIDE;
virtual void onResize() OVERRIDE
{
Screen::onResize();
updateKartViewsLayout();
}
private: private:
bool areAllKartsConfirmed() const; bool areAllKartsConfirmed() const;
int getNumConfirmedKarts(); int getNumConfirmedKarts();