summaryrefslogtreecommitdiff
path: root/src/gui/itempopup.h
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <bjorn@lindeijer.nl>2024-03-27 15:54:25 +0100
committerThorbjørn Lindeijer <bjorn@lindeijer.nl>2024-03-28 09:34:21 +0100
commit474442f1a49d29d85de769c4fbb3aa8636877b49 (patch)
tree2d8218d3648f370d31009831c86fc4c6b9f30033 /src/gui/itempopup.h
parentdac3832265fa17de8d3b9d3ea8d930b83efe9c17 (diff)
downloadmana-474442f1a49d29d85de769c4fbb3aa8636877b49.tar.gz
mana-474442f1a49d29d85de769c4fbb3aa8636877b49.tar.bz2
mana-474442f1a49d29d85de769c4fbb3aa8636877b49.tar.xz
mana-474442f1a49d29d85de769c4fbb3aa8636877b49.zip
Fixed size and child positions for various popups
Most prominently, fixes the tooltips on the window buttons being clipped due to their position being slightly outside of the clipping children area. And fixes NPC tooltips from having a lot of empty space below the NPC name. Also reduced the space between texts in the item tooltip to match the padding rather than being an entire empty line.
Diffstat (limited to 'src/gui/itempopup.h')
-rw-r--r--src/gui/itempopup.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/itempopup.h b/src/gui/itempopup.h
index 39270ba1..3b213633 100644
--- a/src/gui/itempopup.h
+++ b/src/gui/itempopup.h
@@ -72,7 +72,7 @@ class ItemPopup : public Popup
TextBox *mItemWeight;
std::string mItemEquipSlot;
ItemType mItemType;
- Icon *mIcon = nullptr;
+ Icon *mIcon;
};
#endif // ITEMPOPUP_H