[Emulator] Restrict mouse fullscreen toggle to left-click

This commit is contained in:
Gliniak 2024-10-02 21:49:05 +02:00
parent a3bd34122b
commit 9ba0f18c82
1 changed files with 3 additions and 1 deletions

View File

@ -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) {