mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-03 02:36:50 +13:00
fixed #4170: Only allow monitor capture keybinds in region capture mode
This commit is contained in:
parent
7bf8f07560
commit
f937a5d093
1 changed files with 1 additions and 1 deletions
|
@ -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