JD2022-TU1/main/tools/apps/Traviata/Source/BootStrapCommand.cs

28 lines
815 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using JD.Application.View.Tracks;
using JD.Reflection.Attributes;
using JD.Sequencers.Times;
using JD.TeaBoxAddinSystem.Bootstrap;
using JD.Timeline.Document;
using JD.Timeline.Model;
using JD.Timeline.View.ClipView;
using TeaBox.Bootstrap;
namespace Traviata.Source
{
[Export(typeof(IBootstrapCommand))]
public class BootStrapCommand : IBootstrapCommand
{
public void Execute()
{
OverlappingTrack.OverlapMode = OverlapMode.WaveOnly;
TapeTrackWidget.CanDeleteDefaultValue = false;
TapeTrackWidget.CanRenameDefaultValue = false;
TapeTrackWidget.DisplayGrid = true;
SequencerDraggingTool.MoveControlsOnSingleAxis = true;
}
}
}