From 31c3adab990927f666388b5f0906a17c356aee82 Mon Sep 17 00:00:00 2001 From: Eric Robinson Date: Mon, 23 Sep 2024 22:52:11 -0400 Subject: [PATCH] Update hwcursor.cpp --- Source/hwcursor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/hwcursor.cpp b/Source/hwcursor.cpp index 705653696a7..b2f28ff85b1 100644 --- a/Source/hwcursor.cpp +++ b/Source/hwcursor.cpp @@ -144,7 +144,7 @@ bool SetHardwareCursorFromSprite(int pcurs) constexpr std::uint8_t TransparentColor = 1; SDL_FillRect(out.surface, nullptr, TransparentColor); SDL_SetColorKey(out.surface, 1, TransparentColor); - DrawSoftwareCursor(out, { outlineWidth, size.height - outlineWidth }, pcurs); + DrawSoftwareCursor(out, { outlineWidth, size.height - outlineWidth - 1 }, pcurs); const bool result = SetHardwareCursorFromSurface( out.surface, isItem ? HotpointPosition::Center : HotpointPosition::TopLeft);