@@ -8,7 +8,6 @@ import funkin.play.character.BaseCharacter.CharacterType;
88import funkin .util .FileUtil ;
99import funkin .util .assets .SoundUtil ;
1010import funkin .audio .waveform .WaveformData ;
11- import funkin .audio .waveform .WaveformDataParser ;
1211import funkin .audio .waveform .WaveformSprite ;
1312import flixel .util .FlxColor ;
1413import haxe .io .Bytes ;
@@ -201,7 +200,7 @@ class ChartEditorAudioHandler
201200 {
202201 var duration : Float = Conductor .instance .getStepTimeInMs (16 ) * 0.001 ;
203202 var waveformSprite : WaveformSprite = new WaveformSprite (waveformData , VERTICAL , FlxColor .WHITE );
204- waveformSprite .x = 840 ;
203+ waveformSprite .x = state . healthIconBF != null ? state . healthIconBF . x : 840 + FullScreenScaleMode . gameCutoutSize . x * 0.5 ;
205204 waveformSprite .y = Math .max (state .gridTiledSprite ?. y ?? 0.0 , ChartEditorState .GRID_INITIAL_Y_POS - ChartEditorState .GRID_TOP_PAD );
206205 waveformSprite .height = (ChartEditorState .GRID_SIZE ) * 16 ;
207206 waveformSprite .width = (ChartEditorState .GRID_SIZE ) * 2 ;
@@ -225,7 +224,7 @@ class ChartEditorAudioHandler
225224 {
226225 var duration : Float = Conductor .instance .getStepTimeInMs (16 ) * 0.001 ;
227226 var waveformSprite : WaveformSprite = new WaveformSprite (waveformData , VERTICAL , FlxColor .WHITE );
228- waveformSprite .x = 360 ;
227+ waveformSprite .x = state . healthIconDad != null ? state . healthIconDad . x : 360 + FullScreenScaleMode . gameCutoutSize . x * 0.5 ;
229228 waveformSprite .y = Math .max (state .gridTiledSprite ?. y ?? 0.0 , ChartEditorState .GRID_INITIAL_Y_POS - ChartEditorState .GRID_TOP_PAD );
230229 waveformSprite .height = (ChartEditorState .GRID_SIZE ) * 16 ;
231230 waveformSprite .width = (ChartEditorState .GRID_SIZE ) * 2 ;
0 commit comments