https://git.reactos.org/?p=reactos.git;a=commitdiff;h=c3a4309d0c7ed8a10d69b4e34ee9956b86d0d0aa

commit c3a4309d0c7ed8a10d69b4e34ee9956b86d0d0aa
Author:     Jose Carlos Jesus <[email protected]>
AuthorDate: Fri Dec 17 03:42:19 2021 +0000
Commit:     GitHub <[email protected]>
CommitDate: Fri Dec 17 12:42:19 2021 +0900

    [EXPLORER] Fixed issue in TaskBar AUTOHIDE CORE-17093 (#2863)
    
    CORE-17093
---
 base/shell/explorer/traywnd.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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;

Reply via email to