Skip to content

Commit

Permalink
Fix slide placement blueprint not being visible
Browse files Browse the repository at this point in the history
  • Loading branch information
LumpBloom7 committed Jan 12, 2025
1 parent f01c4ac commit 97685f1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ public HoldPlacementBlueprint()

protected override void Update()
{
base.Update();
highlight.Rotation = HitObject.Lane.GetRotationForLane();
highlight.Note.Y = -snapProvider.GetDistanceRelativeToCurrentTime(HitObject.StartTime, SentakkiPlayfield.NOTESTARTDISTANCE);
highlight.Note.Height = -snapProvider.GetDistanceRelativeToCurrentTime(HitObject.EndTime, SentakkiPlayfield.NOTESTARTDISTANCE) - highlight.Note.Y;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ public SlidePlacementBlueprint()

protected override void Update()
{
base.Update();
highlight.Rotation = HitObject.Lane.GetRotationForLane();
highlight.SlideTapPiece.Y = -snapProvider.GetDistanceRelativeToCurrentTime(HitObject.StartTime, SentakkiPlayfield.NOTESTARTDISTANCE);
}
Expand All @@ -73,6 +74,8 @@ protected override void Update()

protected override void LoadComplete()
{
base.LoadComplete();

currentPart.BindTo(slidePlacementToolbox.CurrentPartBindable);
currentPart.BindValueChanged(v =>
{
Expand Down

0 comments on commit 97685f1

Please sign in to comment.