mirror of
https://github.com/Burrit0z/kai
synced 2025-07-02 03:26:48 +00:00
change back to that
This commit is contained in:
2
Kai.xm
2
Kai.xm
@ -58,7 +58,7 @@
|
|||||||
battery.heightConstraint.active = YES;
|
battery.heightConstraint.active = YES;
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
int height = ((battery.number * (bannerHeight + spacing)) - spacing + 5); //big brain math
|
int height = ((battery.number * (bannerHeight + spacing)); //big brain math
|
||||||
battery.heightConstraint.active = NO; //deactivation
|
battery.heightConstraint.active = NO; //deactivation
|
||||||
battery.heightConstraint.constant = height;
|
battery.heightConstraint.constant = height;
|
||||||
battery.heightConstraint.active = YES; //forcing reactivation
|
battery.heightConstraint.active = YES; //forcing reactivation
|
||||||
|
Reference in New Issue
Block a user