Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
no need to call updateBar() in maxPercent setter, since it will be ca…
…lled by another method in setRange()
  • Loading branch information
Beeblerox committed Apr 17, 2016
1 parent 044627c commit 7fd4628
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion flixel/ui/FlxBar.hx
Expand Up @@ -935,7 +935,6 @@ class FlxBar extends FlxSprite
{
maxPercent = (newValue > 0) ? newValue : 100;
setRange(min, max);
updateBar();
return newValue;
}

Expand Down

0 comments on commit 7fd4628

Please sign in to comment.