Skip to content

Commit

Permalink
Wrap bitmaps for debugger with FLX_DEBUG so they don't appear in rele…
Browse files Browse the repository at this point in the history
…ase build
  • Loading branch information
T1mL3arn committed Jan 11, 2024
1 parent e0679d6 commit a3706bd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions flixel/system/debug/stats/Stats.hx
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@ import flixel.system.debug.FlxDebugger.GraphicStats;
import flixel.system.ui.FlxSystemButton;
import flixel.util.FlxColor;

#if FLX_DEBUG
@:bitmap("assets/images/debugger/buttons/minimize.png")
private class GraphicMinimizeButton extends BitmapData {}

@:bitmap("assets/images/debugger/buttons/maximize.png")
private class GraphicMaximizeButton extends BitmapData {}
#end

/**
* A simple performance monitor widget, for use in the debugger overlay.
Expand Down

0 comments on commit a3706bd

Please sign in to comment.