Tweaks
This commit is contained in:
@@ -400,8 +400,9 @@ namespace FlaxEditor.GUI.Timeline
|
||||
}
|
||||
else
|
||||
{
|
||||
// Select (additive for the move)
|
||||
_timeline.Select(this, true);
|
||||
// Select
|
||||
if (!_timeline.SelectedMedia.Contains(this))
|
||||
_timeline.Select(this);
|
||||
}
|
||||
|
||||
_timeline.OnKeyframesMove(null, this, location, true, false);
|
||||
|
||||
@@ -1560,6 +1560,7 @@ namespace FlaxEditor.GUI.Timeline
|
||||
track.AddMedia(media);
|
||||
}
|
||||
MarkAsEdited();
|
||||
Select(media);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -1922,6 +1923,7 @@ namespace FlaxEditor.GUI.Timeline
|
||||
}
|
||||
else
|
||||
{
|
||||
OnKeyframesDeselect(null);
|
||||
foreach (var track in _tracks)
|
||||
{
|
||||
if (Mathf.IsInRange(timelinePos.Y, track.Top, track.Bottom))
|
||||
|
||||
Reference in New Issue
Block a user