diff options
author | Vincent Robinson <robinsonvincent89@gmail.com> | 2021-02-02 11:55:13 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-02 20:55:13 +0100 |
commit | f227e40180b2035f33059749b14287478bab374a (patch) | |
tree | 1e5295c0044ca1ce92d725f946e7399b4ba9afc3 /src/gui/guiInventoryList.cpp | |
parent | 9388c23e86e85e507c521b1ac01687f249fd1a0a (diff) | |
download | minetest-f227e40180b2035f33059749b14287478bab374a.tar.gz minetest-f227e40180b2035f33059749b14287478bab374a.tar.bz2 minetest-f227e40180b2035f33059749b14287478bab374a.zip |
Fix list spacing and size (again) (#10869)
Diffstat (limited to 'src/gui/guiInventoryList.cpp')
-rw-r--r-- | src/gui/guiInventoryList.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/guiInventoryList.cpp b/src/gui/guiInventoryList.cpp index dfdb60448..183d72165 100644 --- a/src/gui/guiInventoryList.cpp +++ b/src/gui/guiInventoryList.cpp @@ -104,8 +104,6 @@ void GUIInventoryList::draw() && m_invmgr->getInventory(selected_item->inventoryloc) == inv && selected_item->listname == m_listname && selected_item->i == item_i; - core::rect<s32> clipped_rect(rect); - clipped_rect.clipAgainst(AbsoluteClippingRect); bool hovering = m_hovered_i == item_i; ItemRotationKind rotation_kind = selected ? IT_ROT_SELECTED : (hovering ? IT_ROT_HOVERED : IT_ROT_NONE); |