diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-10-04 22:39:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-10-04 22:39:21 +0300 |
commit | 6f0554d8c81752ec8f0e3b9822bdeb590cbdfafb (patch) | |
tree | 545e5c2064b215c6db4006653dfd580b441a1e53 /src/gui/widgets/itemcontainer.h | |
parent | 75bcf85c5bfa0aca83cffbdded7370c532319f0b (diff) | |
download | ManaVerse-6f0554d8c81752ec8f0e3b9822bdeb590cbdfafb.tar.gz ManaVerse-6f0554d8c81752ec8f0e3b9822bdeb590cbdfafb.tar.bz2 ManaVerse-6f0554d8c81752ec8f0e3b9822bdeb590cbdfafb.tar.xz ManaVerse-6f0554d8c81752ec8f0e3b9822bdeb590cbdfafb.zip |
Dont show popup in inventory if mouse present outside of item rectangle.
Diffstat (limited to 'src/gui/widgets/itemcontainer.h')
-rw-r--r-- | src/gui/widgets/itemcontainer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/itemcontainer.h b/src/gui/widgets/itemcontainer.h index 243104ead..f87eac55d 100644 --- a/src/gui/widgets/itemcontainer.h +++ b/src/gui/widgets/itemcontainer.h @@ -171,7 +171,7 @@ class ItemContainer final : public Widget, * @param y The Y coordinate position. * @return The slot index on success, -1 on failure. */ - int getSlotIndex(const int x, const int y) const; + int getSlotIndex(int x, int y) const; Inventory *mInventory; Image *mSelImg; |