mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix list spacing and size (again) (#10869)
This commit is contained in:
parent
9388c23e86
commit
f227e40180
3 changed files with 42 additions and 28 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue