Skip to content

Commit

Permalink
Update FlxBar.hx
Browse files Browse the repository at this point in the history
  • Loading branch information
DetectiveBaldi committed Aug 21, 2024
1 parent ef19ac3 commit eabbda3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions flixel/ui/FlxBar.hx
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ class FlxBar extends FlxSprite
{
var emptyKey:String = "empty: " + barWidth + "x" + barHeight + ":" + empty.toHexString();
if (showBorder)
emptyKey += ",border: " + border.toHexString();
emptyKey += ",border: " + border.toHexString() + "borderSize: " + borderSize;

if (!FlxG.bitmap.checkCache(emptyKey))
{
Expand Down Expand Up @@ -410,7 +410,7 @@ class FlxBar extends FlxSprite
{
var filledKey:String = "filled: " + barWidth + "x" + barHeight + ":" + fill.toHexString();
if (showBorder)
filledKey += ",border: " + border.toHexString();
filledKey += ",border: " + border.toHexString() + "borderSize: " + borderSize;

if (!FlxG.bitmap.checkCache(filledKey))
{
Expand Down Expand Up @@ -495,7 +495,7 @@ class FlxBar extends FlxSprite

if (showBorder)
{
emptyKey += ",border: " + border.toHexString();
emptyKey += ",border: " + border.toHexString() + "borderSize: " + borderSize;
}

if (!FlxG.bitmap.checkCache(emptyKey))
Expand Down Expand Up @@ -563,7 +563,7 @@ class FlxBar extends FlxSprite

if (showBorder)
{
filledKey += ",border: " + border.toHexString();
filledKey += ",border: " + border.toHexString() + "borderSize: " + borderSize;
}

if (!FlxG.bitmap.checkCache(filledKey))
Expand Down

0 comments on commit eabbda3

Please sign in to comment.