mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 09:23:03 +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)
|
void MultiScreenWorker::tryToShowDock(int eventX, int eventY)
|
||||||
{
|
{
|
||||||
|
DockItem::setDockPosition(m_position);
|
||||||
if (qApp->property("DRAG_STATE").toBool() || testState(ChangePositionAnimationStart)) {
|
if (qApp->property("DRAG_STATE").toBool() || testState(ChangePositionAnimationStart)) {
|
||||||
qWarning() << "dock is draging or animation is running";
|
qWarning() << "dock is draging or animation is running";
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user