diff options
Diffstat (limited to 'src/gui/statuspopup.cpp')
-rw-r--r-- | src/gui/statuspopup.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/statuspopup.cpp b/src/gui/statuspopup.cpp index 5c28641dc..13b5d575e 100644 --- a/src/gui/statuspopup.cpp +++ b/src/gui/statuspopup.cpp @@ -159,7 +159,8 @@ void StatusPopup::update() const int fontHeight = getFont()->getHeight(); - setHeight(24 + 8 + 14 * fontHeight + getPadding()); + setHeight(mDisableGameModifiers->getY() + + mDisableGameModifiers->getHeight() + 2 * getPadding()); } void StatusPopup::view(int x, int y) |