Resume form on shape update

This commit is contained in:
Jaex 2018-04-30 16:41:39 +03:00
parent 4a30690a69
commit 47f91bd4e8
2 changed files with 3 additions and 2 deletions

View file

@ -1031,9 +1031,9 @@ private void UpdateCurrentShape()
{
shape.OnConfigLoad();
shape.OnMoved();
Form.Invalidate();
}
Form.Resume();
}
private void SwapShapeType()

View file

@ -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_);