mirror of
https://github.com/Burrit0z/kai
synced 2025-07-03 04:46:47 +00:00
my math
This commit is contained in:
2
Kai.xm
2
Kai.xm
@ -50,7 +50,7 @@
|
||||
battery.heightConstraint.active = YES;
|
||||
|
||||
} else {
|
||||
int height = (battery.number * ((bannerHeight + spacing) - spacing + 5));
|
||||
int height = ((battery.number * (bannerHeight + spacing)) - spacing + 5);
|
||||
battery.heightConstraint.active = NO;
|
||||
battery.heightConstraint.constant = height;
|
||||
battery.heightConstraint.active = YES;
|
||||
|
Reference in New Issue
Block a user