Skip to content

Commit

Permalink
Merge pull request #485 from NyxieFemboy/fix-negative-sustain-length
Browse files Browse the repository at this point in the history
  • Loading branch information
NeeEoo authored Dec 11, 2024
2 parents 5a8af43 + 0040d93 commit ed56ec9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/funkin/editors/charter/CharterNote.hx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class CharterNote extends UISprite implements ICharterSelectable {
public function updatePos(step:Float, id:Int, susLength:Float = 0, ?type:Int = 0, ?strumLine:CharterStrumline = null) {
this.step = step;
this.id = id;
this.susLength = susLength;
this.susLength = Math.max(susLength, 0);
this.type = type;
if (strumLine != null) this.strumLine = strumLine;

Expand Down

1 comment on commit ed56ec9

@NexIsDumb
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why this merge merge method😭

Please sign in to comment.