@@ -5446,14 +5446,14 @@ class ChartEditorState extends UIState // UIState derives from MusicBeatState
54465446 charPreviewToolbox .title = ' Player Preview - ${charPlayer .charName }' ;
54475447 charPreviewToolbox .invalidateComponentLayout ();
54485448 }
5449+ }
54495450
5450- if (charPreviewToolbox != null && ! charPreviewToolbox .minimized )
5451- {
5452- charPreviewToolbox .width = charPlayer .width + 32 ;
5453- charPreviewToolbox .height = charPlayer .height + 64 ;
5454- }
5455- currentPlayerCharacterPlayer = charPlayer ;
5451+ if (charPreviewToolbox != null && ! charPreviewToolbox .minimized )
5452+ {
5453+ charPreviewToolbox .width = charPlayer .width + 32 ;
5454+ charPreviewToolbox .height = charPlayer .height + 64 ;
54565455 }
5456+ currentPlayerCharacterPlayer = charPlayer ;
54575457 }
54585458
54595459 function handleOpponentPreviewToolbox (): Void
@@ -5485,14 +5485,14 @@ class ChartEditorState extends UIState // UIState derives from MusicBeatState
54855485 charPreviewToolbox .title = ' Opponent Preview - ${charPlayer .charName }' ;
54865486 charPreviewToolbox .invalidateComponentLayout ();
54875487 }
5488+ }
54885489
5489- if (charPreviewToolbox != null && ! charPreviewToolbox .minimized )
5490- {
5491- charPreviewToolbox .width = charPlayer .width + 32 ;
5492- charPreviewToolbox .height = charPlayer .height + 64 ;
5493- }
5494- currentOpponentCharacterPlayer = charPlayer ;
5490+ if (charPreviewToolbox != null && ! charPreviewToolbox .minimized )
5491+ {
5492+ charPreviewToolbox .width = charPlayer .width + 32 ;
5493+ charPreviewToolbox .height = charPlayer .height + 64 ;
54955494 }
5495+ currentOpponentCharacterPlayer = charPlayer ;
54965496 }
54975497
54985498 function handleSelectionButtons (): Void
0 commit comments