Grey-out value box slider icon when control is disabled
This commit is contained in:
@@ -195,7 +195,7 @@ namespace FlaxEditor.GUI.Input
|
||||
var style = Style.Current;
|
||||
|
||||
// Draw sliding UI
|
||||
Render2D.DrawSprite(style.Scalar, SlideRect, style.Foreground);
|
||||
Render2D.DrawSprite(style.Scalar, SlideRect, EnabledInHierarchy ? style.Foreground : style.ForegroundDisabled);
|
||||
|
||||
// Check if is sliding
|
||||
if (_isSliding)
|
||||
|
||||
Reference in New Issue
Block a user