fix: bug where bottom-left corner cursor icon does not show

This commit is contained in:
Ching Pei Yang 2023-01-24 17:50:53 +01:00
parent a8ef13277c
commit 297e27c8c4

View file

@ -1353,7 +1353,7 @@ void CInputManager::setCursorIconOnBorder(CWindow* w) {
else
setCursorImageUntilUnset("top_side");
} else if (mouseCoords.y > box.y + box.height - CORNER) {
if (mouseCoords.x < box.x)
if (mouseCoords.x < box.x + CORNER)
setCursorImageUntilUnset("bottom_left_corner");
else if (mouseCoords.x > box.x + box.width - CORNER)
setCursorImageUntilUnset("bottom_right_corner");