Implement resetting from a popup menu on the pause menu.

This commit is contained in:
Henrik Rydgård committed 2025-03-28 14:31:01 +01:00
1 parent 7314a65cc5
commit 116f8cf3af
10 files changed
+81 -37

No files matched your search

+1 -1
View File
@@ -164,7 +164,7 @@ void ViewGroup::Draw(UIContext &dc) {
if (hasDropShadow_) {
// Darken things behind.
dc.FillRect(UI::Drawable(0x60000000), dc.GetBounds().Expand(dropShadowExpand_));
float dropsize = 30.0f;
const float dropsize = 30.0f;
dc.Draw()->DrawImage4Grid(dc.theme->dropShadow4Grid,
bounds_.x - dropsize, bounds_.y,
bounds_.x2() + dropsize, bounds_.y2()+dropsize*1.5f, 0xDF000000, 3.0f);