Skip to content

Commit bbcb19d

Browse files
NotHyper-474AbnormalPoof
authored andcommitted
next time you create a Sprite that covers the whole screen pls don't make it receive mouse events
1 parent e6d6972 commit bbcb19d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

source/funkin/util/plugins/ScreenshotPlugin.hx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ class ScreenshotPlugin extends FlxBasic
112112
lastHeight = FlxG.height;
113113

114114
flashSprite = new Sprite();
115+
flashSprite.mouseEnabled = false;
115116
flashSprite.alpha = 0;
116117
flashBitmap = new Bitmap(new BitmapData(lastWidth, lastHeight, true, Preferences.flashingLights ? FlxColor.WHITE : FlxColor.TRANSPARENT));
117118
flashSprite.addChild(flashBitmap);

0 commit comments

Comments
 (0)