mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-09 18:45:40 +00:00
Fix for Emulator Issue #10267: Game list column sizes are being incorrectly calculated.
Default column width was being used for math related to automatic column sizing, in the case of COLUMN_SIZE the default width was -1 which resulted in an issue where an errant scrollbar would appear.
This commit is contained in:
parent
3d304d6938
commit
3e1cc46523
@ -1461,7 +1461,7 @@ void CGameListCtrl::AutomaticColumnWidth()
|
|||||||
if (c.resizable)
|
if (c.resizable)
|
||||||
visible_columns.push_back(c.id);
|
visible_columns.push_back(c.id);
|
||||||
else
|
else
|
||||||
remaining_width -= c.default_width;
|
remaining_width -= GetColumnWidth(c.id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user