mirror of
https://github.com/ShareX/ShareX.git
synced 2024-07-03 05:30:32 +12:00
fixed #4170: Only allow monitor capture keybinds in region capture mode
This commit is contained in:
parent
7bf8f07560
commit
f937a5d093
|
@ -575,7 +575,7 @@ internal void RegionCaptureForm_KeyDown(object sender, KeyEventArgs e)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (e.KeyData >= Keys.D0 && e.KeyData <= Keys.D9)
|
if (!IsEditorMode && e.KeyData >= Keys.D0 && e.KeyData <= Keys.D9)
|
||||||
{
|
{
|
||||||
MonitorKey(e.KeyData - Keys.D0);
|
MonitorKey(e.KeyData - Keys.D0);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue