瀏覽代碼

closer

pull/1/head
Burrit0z 4 年之前
父節點
當前提交
da5c237e02
共有 1 個文件被更改,包括 4 次插入2 次删除
  1. +4
    -2
      Kai.xm

+ 4
- 2
Kai.xm 查看文件

@@ -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…
取消
儲存