1
0
espelhamento de https://github.com/Burrit0z/kai sincronizado 2025-07-03 06:26:47 +00:00
Esse commit está contido em:
Burrit0z
2020-06-02 17:44:04 -04:00
commit c77f972168
2 arquivos alterados com 9 adições e 3 exclusões

Ver arquivo

@ -135,7 +135,11 @@
}
[self.heightAnchor constraintEqualToConstant:(bannerHeight + spacing)].active = YES;
[self.widthAnchor constraintEqualToConstant:(self.frame.size.width)].active = YES;
if(kaiAlign==0) {
[self.widthAnchor constraintEqualToConstant:(self.frame.size.width)].active = YES;
} else {
[self.widthAnchor constraintEqualToAnchor:blurPlatter.widthAnchor].active = YES;
}
}

Ver arquivo

@ -119,9 +119,11 @@ long long lastPercentage;
self.stack.heightConstraint.active = YES;
} else {
int height = (self.number * (bannerHeight + spacing));
if([self.superview.subviews count]>1) {
int height = (self.number * (bannerHeight + spacing));
if(kaiAlign==0 && [self.superview.subviews count]>1) {
height = (self.number * (bannerHeight + spacing)) - spacing;
} else {
height = bannerHeight;
}
self.heightConstraint.constant = height;
self.stack.heightConstraint.constant = height;