mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-01 09:47:22 +13:00
Resume form on shape update
This commit is contained in:
parent
4a30690a69
commit
47f91bd4e8
2 changed files with 3 additions and 2 deletions
|
@ -1031,9 +1031,9 @@ private void UpdateCurrentShape()
|
|||
{
|
||||
shape.OnConfigLoad();
|
||||
shape.OnMoved();
|
||||
|
||||
Form.Invalidate();
|
||||
}
|
||||
|
||||
Form.Resume();
|
||||
}
|
||||
|
||||
private void SwapShapeType()
|
||||
|
|
|
@ -485,6 +485,7 @@ internal void CreateToolbar()
|
|||
tscbCursorTypes.Content.Add(name);
|
||||
}
|
||||
tscbCursorTypes.Content.SelectedIndex = 3; // Cursors.Default
|
||||
tscbCursorTypes.Content.SelectedIndexChanged += (sender, e) => UpdateCurrentShape();
|
||||
tsddbShapeOptions.DropDownItems.Add(tscbCursorTypes);
|
||||
|
||||
tslnudBlurRadius = new ToolStripLabeledNumericUpDown(Resources.ShapeManager_CreateContextMenu_Blur_radius_);
|
||||
|
|
Loading…
Reference in a new issue