mirror of
https://github.com/SourMesen/Mesen.git
synced 2025-04-02 10:52:48 -04:00
UI: Disable double-click to toggle fullscreen when using zapper
This commit is contained in:
parent
7741d5b2a5
commit
b359a841b6
1 changed files with 8 additions and 0 deletions
|
@ -35,6 +35,14 @@ namespace Mesen.GUI.Controls
|
|||
_cursorHidden = true;
|
||||
}
|
||||
}
|
||||
|
||||
protected override void OnDoubleClick(EventArgs e)
|
||||
{
|
||||
if(!InteropEmu.HasZapper()) {
|
||||
//Disable double clicking (used to switch to fullscreen mode) when using zapper
|
||||
base.OnDoubleClick(e);
|
||||
}
|
||||
}
|
||||
|
||||
private void ctrlRenderer_MouseMove(object sender, MouseEventArgs e)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue