mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-05 01:38:36 +00:00
GUI: Do hide GridItemWidgets when nothing is to be shown
This commit is contained in:
parent
6f0f1da2da
commit
9af7ecdd15
@ -720,8 +720,6 @@ void GridWidget::updateGrid() {
|
||||
|
||||
void GridWidget::assignEntriesToItems() {
|
||||
// Assign entries from _visibleEntries to each GridItem in _gridItems
|
||||
if (_visibleEntryList.empty())
|
||||
return;
|
||||
|
||||
// In case we have less ContainerWidgets than the number of visible entries
|
||||
if (_visibleEntryList.size() > _gridItems.size()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user