Skip to content

Commit

Permalink
pffft no screenshotting just use snipping tool lol
Browse files Browse the repository at this point in the history
theres no focus lost screen so no need for this feature
  • Loading branch information
charlesisfeline committed Sep 3, 2023
1 parent 9da92a1 commit 82d43d3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/funkin/backend/system/Main.hx
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ class Main extends Sprite
FlxG.signals.preStateSwitch.add(onStateSwitch);
FlxG.signals.postStateSwitch.add(onStateSwitchPost);

Lib.current.stage.addEventListener(KeyboardEvent.KEY_DOWN, onKeyDown);
// Lib.current.stage.addEventListener(KeyboardEvent.KEY_DOWN, onKeyDown);

FlxG.mouse.useSystemCursor = true;

Expand Down Expand Up @@ -209,12 +209,12 @@ class Main extends Sprite
}


function onKeyDown(evt:KeyboardEvent){
/*function onKeyDown(evt:KeyboardEvent){
if (evt.keyCode == Keyboard.F2){
trace('SCREENSHOT');
CoolSystemStuff.screenshot();
}
}
}*/

private static function onStateSwitchPost() {
// manual asset clearing since base openfl one doesnt clear lime one
Expand Down

0 comments on commit 82d43d3

Please sign in to comment.