Toggle Fullscreen - change from double-click to shift+double-click
This commit is contained in:
parent
c702bc03f2
commit
f975e3da8b
|
@ -53,11 +53,12 @@ namespace BizHawk.Client.EmuHawk
|
||||||
|
|
||||||
private void HandleFullscreenToggle(object sender, MouseEventArgs e)
|
private void HandleFullscreenToggle(object sender, MouseEventArgs e)
|
||||||
{
|
{
|
||||||
if (e.Button == MouseButtons.Left)
|
if (e.Button == MouseButtons.Left && Control.ModifierKeys == Keys.Shift)
|
||||||
|
{
|
||||||
GlobalWin.MainForm.ToggleFullscreen();
|
GlobalWin.MainForm.ToggleFullscreen();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public bool Resized { get; set; }
|
public bool Resized { get; set; }
|
||||||
|
|
||||||
public Size NativeSize { get { return GraphicsControl.ClientSize; } }
|
public Size NativeSize { get { return GraphicsControl.ClientSize; } }
|
||||||
|
|
Loading…
Reference in New Issue