|
@@ -83,20 +83,13 @@
|
|
|
make.left.right.top.mas_equalTo(self.view);
|
|
|
make.height.mas_equalTo(kNaviBarHeight);
|
|
|
}];
|
|
|
-
|
|
|
-// [self.view addSubview:self.dotView];
|
|
|
-// [self.dotView mas_makeConstraints:^(MASConstraintMaker *make) {
|
|
|
-// make.left.right.mas_equalTo(self.view);
|
|
|
-// make.top.mas_equalTo(self.navView.mas_bottom).offset(10);
|
|
|
-// make.height.mas_equalTo(44);
|
|
|
-// }];
|
|
|
+
|
|
|
CGFloat topSpace = IS_IPAD ? 100 + 44 : 10 + 44;
|
|
|
|
|
|
CGFloat speedViewHeight = [WidgetSpeedView getViewHeight];
|
|
|
[self.view addSubview:self.speedView];
|
|
|
[self.speedView mas_makeConstraints:^(MASConstraintMaker *make) {
|
|
|
make.left.right.mas_equalTo(self.view);
|
|
|
-// make.top.mas_equalTo(self.dotView.mas_bottom);
|
|
|
make.top.mas_equalTo(self.navView.mas_bottom).offset(topSpace);
|
|
|
make.height.mas_equalTo(speedViewHeight);
|
|
|
}];
|
|
@@ -129,6 +122,7 @@
|
|
|
self.beatNumber = beatNumber;
|
|
|
[self changeBeat];
|
|
|
self.functionView.beatLabel.text = [NSString stringWithFormat:@"%zd",beatNumber];
|
|
|
+ [self changeRhythmDisplay];
|
|
|
}];
|
|
|
}
|
|
|
|