mirror of
https://github.com/Burrit0z/kai
synced 2025-07-01 20:26:47 +00:00
ok
This commit is contained in:
@ -114,6 +114,9 @@ long long lastPercentage;
|
|||||||
|
|
||||||
} else {
|
} else {
|
||||||
int height = (self.number * (bannerHeight + spacing));
|
int height = (self.number * (bannerHeight + spacing));
|
||||||
|
if([self.superview.subviews count]>1) {
|
||||||
|
height = (self.number * (bannerHeight + spacing)) - spacing;
|
||||||
|
}
|
||||||
self.heightConstraint.constant = height;
|
self.heightConstraint.constant = height;
|
||||||
|
|
||||||
UIStackView *s = (UIStackView *)(self.superview);
|
UIStackView *s = (UIStackView *)(self.superview);
|
||||||
|
Reference in New Issue
Block a user