This commit is contained in:
Wojtek Figat
2022-01-08 20:01:27 +01:00
parent 844fad2ced
commit 73f7688c58
2 changed files with 5 additions and 2 deletions

View File

@@ -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);

View File

@@ -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))