mirror of
https://github.com/stenzek/duckstation.git
synced 2026-02-04 05:04:33 +00:00
Qt: Fix positioning of game list achievements icon
This commit is contained in:
@@ -1331,7 +1331,7 @@ public:
|
||||
m_model->getHasAchievementsPixmap()) :
|
||||
m_model->getNoAchievementsPixmap();
|
||||
const QSize icon_size = icon.deviceIndependentSize().toSize();
|
||||
painter->drawPixmap(r.topLeft() + QPoint(4, (r.height() - icon_size.height()) / 2), icon);
|
||||
painter->drawPixmap(r.topLeft() + QPoint(5, (r.height() - icon_size.height() + 2) / 2), icon);
|
||||
r.setLeft(r.left() + 12 + icon_size.width());
|
||||
|
||||
const QPalette& palette = static_cast<QWidget*>(parent())->palette();
|
||||
|
||||
Reference in New Issue
Block a user