More Refactoring of RGBA_Bytes
This commit is contained in:
parent
c02d2ca60f
commit
cfca964294
20 changed files with 36 additions and 36 deletions
|
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue