mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 07:09:48 -06: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:
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user