More Refactoring of RGBA_Bytes

This commit is contained in:
Lars Brubaker 2017-11-01 18:13:47 -07:00
parent c02d2ca60f
commit cfca964294
20 changed files with 36 additions and 36 deletions

View file

@ -117,7 +117,7 @@ namespace MatterHackers.MatterControl
// now do the thumb
RectangleDouble thumbBounds = sliderAttachedTo.GetThumbHitBounds();
RoundedRect thumbOutside = new RoundedRect(thumbBounds, 0);
graphics2D.Render(thumbOutside, ColorF.GetTweenColor(ThumbColor.GetAsRGBA_Floats(), ColorF.Black.GetAsRGBA_Floats(), .2).GetAsRGBA_Bytes());
graphics2D.Render(thumbOutside, ColorF.GetTweenColor(ThumbColor.ToColorF(), ColorF.Black.ToColorF(), .2).ToColor());
}
}