mirror of
https://github.com/xenia-project/xenia.git
synced 2025-12-06 07:12:03 +01:00
[Emulator] Restrict mouse fullscreen toggle to left-click
This commit is contained in:
parent
a3bd34122b
commit
9ba0f18c82
|
|
@ -895,7 +895,9 @@ void EmulatorWindow::OnKeyDown(ui::KeyEvent& e) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void EmulatorWindow::OnMouseDown(const ui::MouseEvent& e) {
|
void EmulatorWindow::OnMouseDown(const ui::MouseEvent& e) {
|
||||||
|
if (e.button() == ui::MouseEvent::Button::kLeft) {
|
||||||
ToggleFullscreenOnDoubleClick();
|
ToggleFullscreenOnDoubleClick();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void EmulatorWindow::OnMouseUp(const ui::MouseEvent& e) {
|
void EmulatorWindow::OnMouseUp(const ui::MouseEvent& e) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue