Browse Source

closer

pull/1/head
Burrit0z 4 years ago
parent
commit
da5c237e02
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      Kai.xm

+ 4
- 2
Kai.xm View File

@@ -112,8 +112,10 @@ CGRect originalBattery;
[[self stackView] addConstraint:globalC];
}*/

//[battery.widthAnchor constraintEqualToConstant:(battery.number * 85)].active = YES;
battery.heightConstraint.active = NO;
battery.heightConstraint = [battery.heightAnchor constraintEqualToConstant:(battery.number * 85)];
battery.heightConstraint.active = YES;

/*battery.frame = CGRectMake(
originalBattery.origin.x,
originalBattery.origin.y,

Loading…
Cancel
Save