From 530c62c27bb2dbc5ca8ecfffe08ba12f3022ad9d Mon Sep 17 00:00:00 2001 From: guljam Date: Sun, 22 May 2022 21:02:26 +0900 Subject: [PATCH] Fix hand cursor position on Inventions List --- distribution/changelog.txt | 1 + src/openrct2-ui/CursorData.cpp | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/distribution/changelog.txt b/distribution/changelog.txt index 4a9836f2c8..49b51bc5af 100644 --- a/distribution/changelog.txt +++ b/distribution/changelog.txt @@ -23,6 +23,7 @@ - Fix: [#17197] Segfault when extracting files from the GOG installer. - Fix: [#17205] Map generator sometimes crashes when not all standard terrain objects are available. - Fix: [#17221] Object ghosts and tooltips follow invisible cursor when moving the viewport by right-click dragging. +- Fix: [#17261] Hand cursor position is incorrect when dragging items in the Inventions List window. 0.4.0 (2022-04-25) ------------------------------------------------------------------------ diff --git a/src/openrct2-ui/CursorData.cpp b/src/openrct2-ui/CursorData.cpp index 9d8aec42e7..edd023cc74 100644 --- a/src/openrct2-ui/CursorData.cpp +++ b/src/openrct2-ui/CursorData.cpp @@ -571,7 +571,7 @@ namespace OpenRCT2::Ui static constexpr const CursorData HandOpenDownCursorData = { - { 5, 1 }, + { 14, 15 }, { 0x00, 0x06, 0x10, 0x00, 0x00, 0x09, 0x38, 0x00, 0x00, 0x09, 0x24, 0x00, 0x03, 0x08, 0xA4, 0x00, 0x04, 0x88, 0xA4, 0xC0, 0x04, 0x48, 0x63, 0x20, 0x04, 0x24, 0x63, 0x10, 0x06, 0x24, 0x61, 0x90, @@ -596,7 +596,7 @@ namespace OpenRCT2::Ui static constexpr const CursorData HandClosedDownCursorData = { - { 5, 1 }, + { 14, 15 }, { 0x00, 0x00, 0x00, 0x00, 0x00, 0x3C, 0xE0, 0x00, 0x00, 0x43, 0x10, 0x00, 0x00, 0x41, 0x8C, 0x00, 0x00, 0x20, 0x87, 0x00, 0x0E, 0x20, 0x42, 0x80, 0x11, 0x98, 0x62, 0x40, 0x10, 0x6C, 0x61, 0x20,