[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) {
|
||||
if (e.button() == ui::MouseEvent::Button::kLeft) {
|
||||
ToggleFullscreenOnDoubleClick();
|
||||
}
|
||||
}
|
||||
|
||||
void EmulatorWindow::OnMouseUp(const ui::MouseEvent& e) {
|
||||
|
|
Loading…
Reference in New Issue