change how to the actor transform editor looks
This commit is contained in:
@@ -89,6 +89,11 @@ namespace FlaxEditor.GUI.Input
|
||||
/// </summary>
|
||||
public bool IsSliding => _isSliding;
|
||||
|
||||
/// <summary>
|
||||
/// The color of the highlight to the left of the value box.
|
||||
/// </summary>
|
||||
public Color HighlightColor;
|
||||
|
||||
/// <summary>
|
||||
/// Occurs when sliding starts.
|
||||
/// </summary>
|
||||
@@ -206,6 +211,12 @@ namespace FlaxEditor.GUI.Input
|
||||
Render2D.DrawRectangle(bounds, style.SelectionBorder);
|
||||
}
|
||||
}
|
||||
|
||||
if (HighlightColor != Color.Transparent)
|
||||
{
|
||||
var highlightRect = new Rectangle(-3.0f, 0.0f, 3.0f, Height);
|
||||
Render2D.FillRectangle(highlightRect, HighlightColor);
|
||||
}
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
|
||||
Reference in New Issue
Block a user