Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
fix: default value changed.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed Mar 24, 2024
1 parent 6933d6a commit 02c8f8d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ namespace RotationSolver.Basic.Configuration.Timeline;
[Description("Drawing Timeline")]
internal class DrawingTimeline : BaseTimelineItem
{
public float Duration { get; set; } = 5;
public float Duration { get; set; } = 6;

public List<BaseDrawingGetter> DrawingGetters { get; set; } = [];

private IDisposable[] _drawings = [];

public DrawingTimeline()
{
Time = 5;
Time = 6;
}

public override bool InPeriod(TimelineItem item)
Expand Down
2 changes: 1 addition & 1 deletion RotationSolver/UI/TimelineDrawer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ void Down()

ImGui.SameLine();

if (ConditionDrawer.DrawDragFloat3(ConfigUnitType.Yalms, UiString.TimelinePosition.Local(), ref point, "Pos" + moveItem.GetHashCode(), "X", "Y", "Z", () => Player.Object?.Position ?? default))
if (ConditionDrawer.DrawDragFloat3(ConfigUnitType.Yalms, UiString.TimelinePosition.Local(), ref point, "Pos" + moveItem.GetHashCode() + i, "X", "Y", "Z", () => Player.Object?.Position ?? default))
{
moveItem.Points[i] = point;
}
Expand Down

0 comments on commit 02c8f8d

Please sign in to comment.