mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-05 20:54:31 +13:00
Change default value of border size and rounded rectangle radius
This commit is contained in:
parent
1f44d213a6
commit
ea5fd4cea1
2 changed files with 2 additions and 3 deletions
|
@ -31,11 +31,11 @@ public class AnnotationOptions
|
||||||
{
|
{
|
||||||
// Drawing
|
// Drawing
|
||||||
public Color BorderColor { get; set; } = Color.Red;
|
public Color BorderColor { get; set; } = Color.Red;
|
||||||
public int BorderSize { get; set; } = 2;
|
public int BorderSize { get; set; } = 3;
|
||||||
public Color FillColor { get; set; } = Color.FromArgb(0, 0, 0, 0);
|
public Color FillColor { get; set; } = Color.FromArgb(0, 0, 0, 0);
|
||||||
|
|
||||||
// Rounded rectangle region, rounded rectangle drawing
|
// Rounded rectangle region, rounded rectangle drawing
|
||||||
public int RoundedRectangleRadius { get; set; } = 15;
|
public int RoundedRectangleRadius { get; set; } = 8;
|
||||||
|
|
||||||
// Text drawing
|
// Text drawing
|
||||||
public TextDrawingOptions TextOptions { get; set; } = new TextDrawingOptions();
|
public TextDrawingOptions TextOptions { get; set; } = new TextDrawingOptions();
|
||||||
|
|
|
@ -406,7 +406,6 @@ private void CreateToolbar()
|
||||||
tslnudCornerRadius = new ToolStripLabeledNumericUpDown(Resources.ShapeManager_CreateContextMenu_Corner_radius_);
|
tslnudCornerRadius = new ToolStripLabeledNumericUpDown(Resources.ShapeManager_CreateContextMenu_Corner_radius_);
|
||||||
tslnudCornerRadius.Content.Minimum = 0;
|
tslnudCornerRadius.Content.Minimum = 0;
|
||||||
tslnudCornerRadius.Content.Maximum = 150;
|
tslnudCornerRadius.Content.Maximum = 150;
|
||||||
tslnudCornerRadius.Content.Increment = 3;
|
|
||||||
tslnudCornerRadius.Content.ValueChanged = (sender, e) =>
|
tslnudCornerRadius.Content.ValueChanged = (sender, e) =>
|
||||||
{
|
{
|
||||||
ShapeType shapeType = CurrentShapeType;
|
ShapeType shapeType = CurrentShapeType;
|
||||||
|
|
Loading…
Reference in a new issue