mirror of https://github.com/godotengine/godot
Merge pull request #15905 from binbitten/fix-capture-win
Fix horizontal scroll for windows platform
This commit is contained in:
commit
8f8b032eed
|
|
@ -588,7 +588,7 @@ LRESULT OS_Windows::WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
|||
mb->set_position(Vector2(old_x, old_y));
|
||||
}
|
||||
|
||||
if (uMsg != WM_MOUSEWHEEL) {
|
||||
if (uMsg != WM_MOUSEWHEEL && uMsg != WM_MOUSEHWHEEL) {
|
||||
if (mb->is_pressed()) {
|
||||
|
||||
if (++pressrc > 0)
|
||||
|
|
|
|||
Loading…
Reference in New Issue