mirror of
https://github.com/DreamSourceLab/DSView.git
synced 2025-01-13 13:32:53 +08:00
fix: unable to click the scroll bar on windows
This commit is contained in:
parent
a0252d69bc
commit
a91774a6b7
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user