Skip to content

Commit

Permalink
just in case
Browse files Browse the repository at this point in the history
  • Loading branch information
mcagabe19 committed Apr 22, 2024
1 parent 6e2915a commit 80aed4c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/funkin/backend/system/Main.hx
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ class Main extends Sprite
FlxG.signals.preStateSwitch.add(onStateSwitch);
FlxG.signals.postStateSwitch.add(onStateSwitchPost);

#if !mobile FlxG.mouse.useSystemCursor = true; #end
FlxG.mouse.useSystemCursor = !MobileControls.mobileC;

ModsFolder.init();
#if MOD_SUPPORT
Expand Down
3 changes: 2 additions & 1 deletion source/funkin/editors/UIDebugState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ class UIDebugState extends UIState {
public override function create() {
super.create();

#if !mobile FlxG.mouse.useSystemCursor = #end FlxG.mouse.visible = true;
FlxG.mouse.useSystemCursor = !MobileControls.mobileC;
FlxG.mouse.visible = true;

var bg = new FlxSprite().makeSolid(FlxG.width, FlxG.height, 0xFF444444);
bg.updateHitbox();
Expand Down

0 comments on commit 80aed4c

Please sign in to comment.