Fix sliders to show entire range

Fix angle range on start and end angle sliders
This commit is contained in:
LarsBrubaker 2021-09-23 22:17:32 -07:00
parent b15ce7c5c5
commit 57f7c56685
5 changed files with 12 additions and 15 deletions

View file

@ -98,11 +98,11 @@ namespace MatterHackers.MatterControl.DesignTools
public string EasyModeMessage { get; set; } = "You can switch to Advanced mode to get more ring options.";
[MaxDecimalPlaces(2)]
[Slider(3, 360, snapDistance: 1)]
[Slider(0, 359, snapDistance: 1)]
public DoubleOrExpression StartingAngle { get; set; } = 0;
[MaxDecimalPlaces(2)]
[Slider(3, 360, snapDistance: 1)]
[Slider(1, 360, snapDistance: 1)]
public DoubleOrExpression EndingAngle { get; set; } = 360;
[EnumDisplay(Mode = EnumDisplayAttribute.PresentationMode.Buttons)]