mirror of
https://github.com/Burrit0z/kai
synced 2025-07-04 00:06:47 +00:00
progress while i play minecraft
This commit is contained in:
@ -51,7 +51,7 @@ long long lastPercentage;
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(![self.subviews containsObject:cell] && shouldAdd && [devices containsObject:device]) {
|
if(![self.subviews containsObject:cell] && shouldAdd && [devices containsObject:device]) {
|
||||||
//[cell setFrame:CGRectMake(0,0,self.frame.size.width, bannerHeight + spacing)];
|
[cell setFrame:CGRectMake(0,0,self.frame.size.width, bannerHeight + spacing)];
|
||||||
[self addSubview:cell];
|
[self addSubview:cell];
|
||||||
[self addArrangedSubview:cell];
|
[self addArrangedSubview:cell];
|
||||||
} else if([self.subviews containsObject:cell] && !shouldAdd){
|
} else if([self.subviews containsObject:cell] && !shouldAdd){
|
||||||
|
4
Kai.xm
4
Kai.xm
@ -53,7 +53,7 @@
|
|||||||
|
|
||||||
[UIView animateWithDuration:0.3 animations:^{
|
[UIView animateWithDuration:0.3 animations:^{
|
||||||
|
|
||||||
/*if(!battery.heightConstraint) {
|
if(!battery.heightConstraint) {
|
||||||
|
|
||||||
battery.heightConstraint.active = NO;
|
battery.heightConstraint.active = NO;
|
||||||
battery.heightConstraint = [battery.heightAnchor constraintEqualToConstant:85];
|
battery.heightConstraint = [battery.heightAnchor constraintEqualToConstant:85];
|
||||||
@ -69,7 +69,7 @@
|
|||||||
UIStackView *s = [self stackView];
|
UIStackView *s = [self stackView];
|
||||||
s.frame = CGRectMake(s.frame.origin.x, s.frame.origin.y, s.frame.size.width, (s.frame.size.height - 1));
|
s.frame = CGRectMake(s.frame.origin.x, s.frame.origin.y, s.frame.size.width, (s.frame.size.height - 1));
|
||||||
//literally does nothing but makes the stack view lay itself out (doesnt adjust frame because translatesAutoreszingMaskIntoConstraints = NO on stack views)
|
//literally does nothing but makes the stack view lay itself out (doesnt adjust frame because translatesAutoreszingMaskIntoConstraints = NO on stack views)
|
||||||
}*/
|
}
|
||||||
|
|
||||||
}];
|
}];
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user