Skip to content

Commit

Permalink
BaseDividedBox: prefer > 0 over >= 1
Browse files Browse the repository at this point in the history
  • Loading branch information
joshtynjala committed Jan 22, 2025
1 parent 75676f1 commit 4db4d80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/feathers/controls/supportClasses/BaseDividedBox.hx
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ class BaseDividedBox extends FeathersControl {
}
if (this.items.length > 1) {
var i = this.items.length - 1;
while (i >= 1) {
while (i > 0) {
var layoutIndex = i * 2;
var childIndex = layoutIndex + ((this._currentBackgroundSkin != null) ? 1 : 0);
var oldDivider = this.removeRawChildAt(childIndex - 1);
Expand Down

0 comments on commit 4db4d80

Please sign in to comment.