AddDeleteItemModeRipple.cs 526 B

123456789101112131415161718
  1. using System.Collections.Generic;
  2. namespace UnityEditor.Timeline
  3. {
  4. class AddDeleteItemModeRipple : IAddDeleteItemMode
  5. {
  6. public void InsertItemsAtTime(IEnumerable<ItemsPerTrack> itemsGroups, double requestedTime)
  7. {
  8. ItemsUtils.SetItemsStartTime(itemsGroups, requestedTime);
  9. EditModeRippleUtils.Insert(itemsGroups);
  10. }
  11. public void RemoveItems(IEnumerable<ItemsPerTrack> itemsGroups)
  12. {
  13. EditModeRippleUtils.Remove(itemsGroups);
  14. }
  15. }
  16. }