mirror of
https://github.com/ShareX/ShareX.git
synced 2024-07-04 14:11:38 +12:00
On startup activate parent form so key input won't go to menu
This commit is contained in:
parent
c4725ec668
commit
10227b3aca
|
@ -611,6 +611,8 @@ private void CreateMenu()
|
|||
Rectangle rect = CaptureHelpers.GetActiveScreenBounds0Based();
|
||||
menuForm.Location = new Point(rect.X + rect.Width / 2 - tsMain.Width / 2, rect.Y + 20);
|
||||
|
||||
form.Activate();
|
||||
|
||||
UpdateMenu();
|
||||
|
||||
CurrentShapeTypeChanged += shapeType => UpdateMenu();
|
||||
|
|
Loading…
Reference in a new issue