mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 11:36:13 +00:00
Qt: Fix wide game icons (weird copy pasta error)
This commit is contained in:
parent
1e09be19f5
commit
f83b19cecf
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue