From 011f1541b197fd4f962ab8a910cbd417f78c2d09 Mon Sep 17 00:00:00 2001 From: Trofem <127919576+Trofem@users.noreply.github.com> Date: Fri, 6 Mar 2026 21:14:01 +0300 Subject: [PATCH] control + character icon combination for character preview --- .../ui/debug/charting/ChartEditorState.hx | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/source/funkin/ui/debug/charting/ChartEditorState.hx b/source/funkin/ui/debug/charting/ChartEditorState.hx index 2d7f8649c..9f0a9983a 100644 --- a/source/funkin/ui/debug/charting/ChartEditorState.hx +++ b/source/funkin/ui/debug/charting/ChartEditorState.hx @@ -3036,7 +3036,14 @@ class ChartEditorState extends UIState // UIState derives from MusicBeatState { if (!isCursorOverHaxeUI && !isPlaytesting) { - this.openCharacterDropdown(CharacterType.DAD, true); + if (pressingControl()) + { + this.setToolboxState(CHART_EDITOR_TOOLBOX_OPPONENT_PREVIEW_LAYOUT, true); + } + else + { + this.openCharacterDropdown(CharacterType.DAD, true); + } } }); @@ -3044,7 +3051,14 @@ class ChartEditorState extends UIState // UIState derives from MusicBeatState { if (!isCursorOverHaxeUI && !isPlaytesting) { - this.openCharacterDropdown(CharacterType.BF, true); + if (pressingControl()) + { + this.setToolboxState(CHART_EDITOR_TOOLBOX_PLAYER_PREVIEW_LAYOUT, true); + } + else + { + this.openCharacterDropdown(CharacterType.BF, true); + } } });