UWP: Map mouse buttons to match Qt

This commit is contained in:
Connor McLaughlin 2021-07-11 21:44:18 +10:00
parent 134056bb93
commit 5396a5513d
1 changed files with 1 additions and 1 deletions

View File

@ -657,7 +657,7 @@ void UWPHostInterface::UpdateMouseButtonState(const winrt::Windows::UI::Input::P
continue;
io.MouseDown[i] = states[i];
HandleHostMouseEvent(static_cast<HostMouseButton>(i), states[i]);
HandleHostMouseEvent(static_cast<HostMouseButton>(i + 1u), states[i]);
}
});
}