mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Fix list spacing and size (again) (#10869)
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user