leaderboard

This commit is contained in:
2026-05-20 07:32:57 +02:00
parent 66c5e0e710
commit ee3c263547
6 changed files with 266 additions and 11 deletions

View File

@@ -52,6 +52,7 @@ namespace Game::Object {
std::string mLastRenderedText; // to avoid rebuilding font unnecessarily
std::string mPlaceholder = "";
float mReservedPlaceholderWidth = 0.f; // Reserved pixel width for placeholder to avoid layout shifts
bool mIsHovered = false;
std::mutex mRenderMutex; // Protects mLastRenderedText and mReservedPlaceholderWidth from main-thread updates
};
}