Fix timeline track icons
This commit is contained in:
@@ -118,7 +118,7 @@ namespace FlaxEditor.GUI.Timeline.Tracks
|
||||
if (useNavigationButtons)
|
||||
{
|
||||
// Navigation buttons
|
||||
const float buttonSize = 14;
|
||||
const float buttonSize = 20;
|
||||
var icons = Editor.Instance.Icons;
|
||||
_rightKey = new Image
|
||||
{
|
||||
@@ -128,7 +128,7 @@ namespace FlaxEditor.GUI.Timeline.Tracks
|
||||
IsScrollable = false,
|
||||
Color = Style.Current.ForegroundGrey,
|
||||
Margin = new Margin(1),
|
||||
Brush = new SpriteBrush(icons.Right64),
|
||||
Brush = new SpriteBrush(icons.Right32),
|
||||
Offsets = new Margin(-buttonSize - 2 + uiLeft, buttonSize, buttonSize * -0.5f, buttonSize),
|
||||
Parent = this,
|
||||
};
|
||||
@@ -138,9 +138,9 @@ namespace FlaxEditor.GUI.Timeline.Tracks
|
||||
AutoFocus = true,
|
||||
AnchorPreset = AnchorPresets.MiddleRight,
|
||||
IsScrollable = false,
|
||||
Color = Style.Current.Foreground,
|
||||
Color = Style.Current.ForegroundGrey,
|
||||
Margin = new Margin(3),
|
||||
Brush = new SpriteBrush(icons.Add64),
|
||||
Brush = new SpriteBrush(icons.Add32),
|
||||
Offsets = new Margin(-buttonSize - 2 + _rightKey.Offsets.Left, buttonSize, buttonSize * -0.5f, buttonSize),
|
||||
Parent = this,
|
||||
};
|
||||
@@ -150,9 +150,9 @@ namespace FlaxEditor.GUI.Timeline.Tracks
|
||||
AutoFocus = true,
|
||||
AnchorPreset = AnchorPresets.MiddleRight,
|
||||
IsScrollable = false,
|
||||
Color = Style.Current.Foreground,
|
||||
Color = Style.Current.ForegroundGrey,
|
||||
Margin = new Margin(1),
|
||||
Brush = new SpriteBrush(icons.Left64),
|
||||
Brush = new SpriteBrush(icons.Left32),
|
||||
Offsets = new Margin(-buttonSize - 2 + _addKey.Offsets.Left, buttonSize, buttonSize * -0.5f, buttonSize),
|
||||
Parent = this,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user