mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-12 22:14:58 +00:00
Qt: Fix wide game icons (weird copy pasta error)
This commit is contained in:
parent
1e09be19f5
commit
f83b19cecf
@ -1820,7 +1820,7 @@ QPixmap game_list_frame::PaintedPixmap(QPixmap icon, bool paint_config_icon, boo
|
||||
|
||||
if ((icon.width() / static_cast<double>(icon.height())) > target_ratio)
|
||||
{
|
||||
canvas_size.setHeight(std::ceil(icon.width() * target_ratio));
|
||||
canvas_size.setHeight(std::ceil(icon.width() / target_ratio));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user