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

@ -846,7 +846,7 @@ namespace MatterHackers.MatterControl.DesignTools
if (e.InvalidateType.HasFlag(InvalidateType.DisplayValues))
{
var newValue = (DoubleOrExpression)property.Value;
if (newValue.Expression != field.Value)
// if (newValue.Expression != field.Value)
{
// we should never be in the situation where there is an '=' as the in scene controls should be disabled
if (newValue.Expression.StartsWith("="))
@ -921,7 +921,7 @@ namespace MatterHackers.MatterControl.DesignTools
if (e.InvalidateType.HasFlag(InvalidateType.DisplayValues))
{
var newValue = (IntOrExpression)property.Value;
if (newValue.Expression != field.Value)
// if (newValue.Expression != field.Value)
{
// we should never be in the situation where there is an '=' as the in scene controls should be disabled
if (newValue.Expression.StartsWith("="))