diff --git a/Source/Editor/GUI/CurveEditor.cs b/Source/Editor/GUI/CurveEditor.cs index edbff94b5..58f830f29 100644 --- a/Source/Editor/GUI/CurveEditor.cs +++ b/Source/Editor/GUI/CurveEditor.cs @@ -273,7 +273,7 @@ namespace FlaxEditor.GUI /// /// The keyframes size. /// - protected static readonly Vector2 KeyframesSize = new Vector2(5.0f); + protected static readonly Vector2 KeyframesSize = new Vector2(7.0f); /// /// The colors for the keyframe points. @@ -1296,7 +1296,7 @@ namespace FlaxEditor.GUI if (_showCollapsed) { point.Y = 1.0f; - p.Size = new Vector2(4.0f / viewScale.X, Height - 2.0f); + p.Size = new Vector2(KeyframesSize.X / viewScale.X, Height - 2.0f); p.Visible = p.Component == 0; } else diff --git a/Source/Editor/GUI/Timeline/GUI/Background.cs b/Source/Editor/GUI/Timeline/GUI/Background.cs index 40537e377..fb69db363 100644 --- a/Source/Editor/GUI/Timeline/GUI/Background.cs +++ b/Source/Editor/GUI/Timeline/GUI/Background.cs @@ -75,7 +75,7 @@ namespace FlaxEditor.GUI.Timeline.GUI var track = tracks[i]; if (track.Visible && _timeline.SelectedTracks.Contains(track) && _timeline.ContainsFocus) { - Render2D.FillRectangle(new Rectangle(areaLeft, track.Top, areaRight, track.Height), style.BackgroundSelected); + Render2D.FillRectangle(new Rectangle(areaLeft, track.Top, areaRight, track.Height), style.BackgroundSelected.RGBMultiplied(0.4f)); } } diff --git a/Source/Editor/GUI/Timeline/GUI/KeyframesEditor.cs b/Source/Editor/GUI/Timeline/GUI/KeyframesEditor.cs index ecec528ad..df0358645 100644 --- a/Source/Editor/GUI/Timeline/GUI/KeyframesEditor.cs +++ b/Source/Editor/GUI/Timeline/GUI/KeyframesEditor.cs @@ -509,7 +509,7 @@ namespace FlaxEditor.GUI /// /// The keyframes size. /// - private static readonly Vector2 KeyframesSize = new Vector2(5.0f); + private static readonly Vector2 KeyframesSize = new Vector2(7.0f); private Contents _contents; private Panel _mainPanel; diff --git a/Source/Editor/GUI/Timeline/Track.cs b/Source/Editor/GUI/Timeline/Track.cs index 66528efab..561b5fe3f 100644 --- a/Source/Editor/GUI/Timeline/Track.cs +++ b/Source/Editor/GUI/Timeline/Track.cs @@ -32,7 +32,7 @@ namespace FlaxEditor.GUI.Timeline /// /// The default drag insert position margin. /// - public const float DefaultDragInsertPositionMargin = 2.0f; + public const float DefaultDragInsertPositionMargin = 4.0f; /// /// The header height. diff --git a/Source/Editor/GUI/Timeline/Tracks/CurvePropertyTrack.cs b/Source/Editor/GUI/Timeline/Tracks/CurvePropertyTrack.cs index 47d077ece..f1454e1b8 100644 --- a/Source/Editor/GUI/Timeline/Tracks/CurvePropertyTrack.cs +++ b/Source/Editor/GUI/Timeline/Tracks/CurvePropertyTrack.cs @@ -251,7 +251,7 @@ namespace FlaxEditor.GUI.Timeline.Tracks Parent = Curve, }; } - var splitterHeight = 4.0f; + var splitterHeight = 5.0f; _splitter.Bounds = new Rectangle(0, Curve.Height - splitterHeight, Curve.Width, splitterHeight); } }