File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
source/funkin/options/keybinds Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ class KeybindSetting extends FlxTypedSpriteGroup<FlxSprite> {
3232 option1 = controlArrayP1 [0 ];
3333 option2 = controlArrayP2 [0 ];
3434
35- for (i in 1 ... 3 ) {
35+ for (i in 1 ... 3 ) {
3636 var b = null ;
3737 var bx = FlxG .width * (0.25 * (i + 1 )) - x ;
3838 if (i == 1 )
@@ -60,6 +60,11 @@ class KeybindSetting extends FlxTypedSpriteGroup<FlxSprite> {
6060 title .setPosition (100 , 0 );
6161 }
6262
63+ if (title .x + title .width > bind1 .x - 20 ) {
64+ title .scale .x = (bind1 .x - 20 - title .x ) / title .width ;
65+ title .updateHitbox ();
66+ }
67+
6368 setPosition (x , y );
6469 }
6570
Original file line number Diff line number Diff line change @@ -197,7 +197,7 @@ class KeybindsOptions extends MusicBeatSubstate {
197197 add (title );
198198
199199 k ++ ;
200- for (e in category .settings ) {
200+ for (e in category .settings ) {
201201 var sparrowIcon : String = null ;
202202 var sparrowAnim : String = null ;
203203 if (e .sparrowIcon != null ) sparrowIcon = e .sparrowIcon ;
You can’t perform that action at this time.
0 commit comments