From 5c10bcc7ef9ca881b7d6d851992702bae53ff968 Mon Sep 17 00:00:00 2001 From: Zufu Liu Date: Thu, 18 Apr 2024 09:32:10 +1000 Subject: Bug [#2321]. Scale reverse arrow cursor for margins to match other cursors. --- win32/PlatWin.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'win32/PlatWin.h') diff --git a/win32/PlatWin.h b/win32/PlatWin.h index f010923f2..70721d4a7 100644 --- a/win32/PlatWin.h +++ b/win32/PlatWin.h @@ -50,7 +50,8 @@ float GetDeviceScaleFactorWhenGdiScalingActive(HWND hWnd) noexcept; int SystemMetricsForDpi(int nIndex, UINT dpi) noexcept; -HCURSOR LoadReverseArrowCursor(UINT dpi) noexcept; +constexpr int defaultCursorBaseSize = 32; +HCURSOR LoadReverseArrowCursor(UINT dpi, int cursorBaseSize) noexcept; class MouseWheelDelta { int wheelDelta = 0; -- cgit v1.2.3