mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-02 15:45:21 +00:00
fix: update appitem position when showing from hide
dock request to hide, set old position to appitem. so need to update appitem position when show from hide state log:
This commit is contained in:
parent
8bf079219a
commit
e6dbaa69bb
@ -937,6 +937,7 @@ void MultiScreenWorker::onDelayAutoHideChanged()
|
||||
*/
|
||||
void MultiScreenWorker::tryToShowDock(int eventX, int eventY)
|
||||
{
|
||||
DockItem::setDockPosition(m_position);
|
||||
if (qApp->property("DRAG_STATE").toBool() || testState(ChangePositionAnimationStart)) {
|
||||
qWarning() << "dock is draging or animation is running";
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user