Skip to content

Commit

Permalink
Update ChartEditorMetadataToolbox.hx
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesisfeline committed May 21, 2024
1 parent 230937b commit 4751050
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,10 @@ class ChartEditorMetadataToolbox extends ChartEditorBaseToolbox
chartEditorState.currentSongChartDifficultyRating = event.target.value;
};

inputManiaNumber.onChange = function(event:UIEvent) {
chartEditorState.currentSongChartMania = event.target.value;
};

buttonCharacterOpponent.onClick = function(_) {
chartEditorState.openCharacterDropdown(CharacterType.DAD, false);
};
Expand All @@ -180,6 +184,7 @@ class ChartEditorMetadataToolbox extends ChartEditorBaseToolbox
inputNoteStyle.value = chartEditorState.currentSongMetadata.playData.noteStyle;
inputBPM.value = chartEditorState.currentSongMetadata.timeChanges[0].bpm;
inputDifficultyRating.value = chartEditorState.currentSongChartDifficultyRating;
inputManiaNumber.value = chartEditorState.currentSongChartMania;
inputScrollSpeed.value = chartEditorState.currentSongChartScrollSpeed;
labelScrollSpeed.text = 'Scroll Speed: ${chartEditorState.currentSongChartScrollSpeed}x';
frameVariation.text = 'Variation: ${chartEditorState.selectedVariation.toTitleCase()}';
Expand Down

0 comments on commit 4751050

Please sign in to comment.