mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-03 00:15:21 +00:00
fix: 任务栏抖动
在Paint事件中触发的重算图标大小,会导致应用区域图标大小一直在38和39两个数之间跳动。 Log: 修复任务栏特定位置下抖动的问题。 Bug: https://pms.uniontech.com/zentao/bug-view-40176.html Change-Id: If90d5296c647495f0251cdcef515a6ececc55dc1 Reviewed-on: http://gerrit.uniontech.com/c/dde-dock/+/6032 Reviewed-by: <mailman@uniontech.com> Reviewed-by: fanpengcheng <fanpengcheng@uniontech.com> Tested-by: <mailman@uniontech.com>
This commit is contained in:
parent
3aed24c7e0
commit
8e0b8f82a8
@ -578,7 +578,7 @@ bool MainPanelControl::eventFilter(QObject *watched, QEvent *event)
|
||||
m_appAreaSonWidget->adjustSize();
|
||||
resizeDockIcon();
|
||||
break;
|
||||
case QEvent::Paint:
|
||||
case QEvent::Resize:
|
||||
resizeDockIcon();
|
||||
break;
|
||||
default:
|
||||
|
Loading…
x
Reference in New Issue
Block a user