Singularity/Library/PackageCache/com.unity.timeline@1.6.4/Editor/Manipulators/AddDelete/AddDeleteItemModeRipple.cs

19 lines
526 B
C#
Raw Normal View History

2024-05-06 14:45:45 -04:00
using System.Collections.Generic;
namespace UnityEditor.Timeline
{
class AddDeleteItemModeRipple : IAddDeleteItemMode
{
public void InsertItemsAtTime(IEnumerable<ItemsPerTrack> itemsGroups, double requestedTime)
{
ItemsUtils.SetItemsStartTime(itemsGroups, requestedTime);
EditModeRippleUtils.Insert(itemsGroups);
}
public void RemoveItems(IEnumerable<ItemsPerTrack> itemsGroups)
{
EditModeRippleUtils.Remove(itemsGroups);
}
}
}