Skip to content

Commit

Permalink
hmhmhm
Browse files Browse the repository at this point in the history
  • Loading branch information
Joalor64GH authored Jul 26, 2024
1 parent 1624b35 commit 6f66063
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions source/states/ChartingState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ class ChartingState extends ExtendableState {
var saveButton:FlxButton = new FlxButton(FlxG.width - 110, 10, "Save Chart", saveChart);
add(saveButton);

bpmStepper = new FlxUINumericStepper(FlxG.width - 110, 50, 100, 20, 60, 300, song.bpm, 0, updateBPM);
bpmStepper.stepSize = 1;
bpmStepper = new FlxUINumericStepper(10, 70, 1, 1, 1, 9999, 3);
bpmStepper.value = Conductor.bpm;
add(bpmStepper);
}

Expand Down Expand Up @@ -348,9 +348,4 @@ class ChartingState extends ExtendableState {
default: "unknown";
}
}

function updateBPM(value:Int):Void {
song.bpm = value;
Conductor.bpm = value;
}
}

0 comments on commit 6f66063

Please sign in to comment.