diff --git a/base/shell/explorer/traywnd.cpp b/base/shell/explorer/traywnd.cpp index b052b856404..0f3005ca950 100644 --- a/base/shell/explorer/traywnd.cpp +++ b/base/shell/explorer/traywnd.cpp @@ -1881,13 +1881,13 @@ ChangePos: m_AutoHideOffset.cy = 0; m_AutoHideOffset.cx -= AUTOHIDE_SPEED_HIDE; if (m_AutoHideOffset.cx < -w) - m_AutoHideOffset.cx = -w; + m_AutoHideOffset.cx = w; break; case ABE_TOP: m_AutoHideOffset.cx = 0; m_AutoHideOffset.cy -= AUTOHIDE_SPEED_HIDE; if (m_AutoHideOffset.cy < -h) - m_AutoHideOffset.cy = -h; + m_AutoHideOffset.cy = h; break; case ABE_RIGHT: m_AutoHideOffset.cy = 0;