Skip to content

Commit

Permalink
Add clarifying parentheses
Browse files Browse the repository at this point in the history
  • Loading branch information
UndeadZeratul committed Dec 19, 2023
1 parent 4393a5b commit 1a0a63e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class MerchantCategoryFrame : MerchZFListFrame {
super.ticker();

let height = 0;
foreach (el : elements) height += (el.isHidden() ? 0 : el.getHeight() + getPadding());
foreach (el : elements) height += (el.isHidden() ? 0 : (el.getHeight() + getPadding()));

setHeight(height);
}
Expand Down

0 comments on commit 1a0a63e

Please sign in to comment.