mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 17:33:05 +00:00
fix: hover background of plugins item in Efficient mode
https://github.com/linuxdeepin/internal-discussion/issues/744 Change-Id: I50996e20d4bbe4e6e166f1ec2816aaa25d92815f
This commit is contained in:
parent
f7699e3596
commit
a5cf01551a
Notes:
gerrit
2019-01-03 19:16:49 +08:00
Verified+1: <jenkins@deepin.com> Code-Review+2: listenerri <listenerri@gmail.com> Submitted-by: listenerri <listenerri@gmail.com> Submitted-at: Thu, 03 Jan 2019 19:16:49 +0800 Reviewed-on: https://cr.deepin.io/41084 Project: dde/dde-dock Branch: refs/heads/master
@ -136,6 +136,7 @@ void PluginsItem::paintEvent(QPaintEvent *event)
|
||||
color = QColor::fromRgb(255, 255, 255);
|
||||
|
||||
QPainter painter(this);
|
||||
painter.setRenderHint(QPainter::Antialiasing, true);
|
||||
painter.setOpacity(0.1);
|
||||
|
||||
painter.fillPath(path, color);
|
||||
|
Loading…
x
Reference in New Issue
Block a user