mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-12 17:58:37 +12:00
GUI: fix icon sizes and exterminate gamelist bug
recreate old icon size values
This commit is contained in:
parent
02845f546e
commit
d51a986dd4
4 changed files with 30 additions and 9 deletions
|
@ -749,6 +749,16 @@ void game_list_frame::ResizeIcons(const int& sliderPos)
|
|||
m_Slider_Size->setSliderPosition(sliderPos);
|
||||
}
|
||||
|
||||
RepaintIcons();
|
||||
}
|
||||
|
||||
void game_list_frame::RepaintIcons(const QColor& color)
|
||||
{
|
||||
if (color.isValid())
|
||||
{
|
||||
m_Icon_Color = color;
|
||||
}
|
||||
|
||||
for (auto& game : m_game_data)
|
||||
{
|
||||
game.pxmap = PaintedPixmap(game.icon, game.hasCustomConfig);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue