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