From a91774a6b71abb5b2d1b17738a560725a348e67e Mon Sep 17 00:00:00 2001 From: dreamsourcelabTAI Date: Thu, 11 Apr 2024 16:11:44 +0800 Subject: [PATCH] fix: unable to click the scroll bar on windows --- DSView/pv/winnativewidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DSView/pv/winnativewidget.cpp b/DSView/pv/winnativewidget.cpp index a31b1efe..74231edc 100644 --- a/DSView/pv/winnativewidget.cpp +++ b/DSView/pv/winnativewidget.cpp @@ -334,7 +334,7 @@ LRESULT CALLBACK WinNativeWidget::WndProc(HWND hWnd, UINT message, WPARAM wParam int k = self->GetDevicePixelRatio(); - const LONG borderWidth = 8 * k; + const LONG borderWidth = 4 * k; RECT rc; GetWindowRect(hWnd, &rc);