Skip to content

Commit

Permalink
fix: Application preview background color overflow
Browse files Browse the repository at this point in the history
Background Alignment Preview Image

Issue: linuxdeepin/developer-center#9433
  • Loading branch information
mhduiy committed Jul 23, 2024
1 parent 136fc4d commit 98ca1f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion panels/dock/taskmanager/x11preview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ class AppItemWindowDeletegate : public QAbstractItemDelegate
} else {
painter->setBrush(QColor(0, 0, 0, 0.05 * 255));
}
painter->drawRoundedRect(option.rect.marginsRemoved(QMargins(2, 2, 2, 2)), radius + 2, radius + 2);
painter->drawRoundedRect(option.rect.marginsRemoved(QMargins(PREVIEW_HOVER_BORDER, PREVIEW_HOVER_BORDER, PREVIEW_HOVER_BORDER, PREVIEW_HOVER_BORDER)), radius, radius);
painter->restore();


Expand Down

0 comments on commit 98ca1f3

Please sign in to comment.