|
@@ -6078,7 +6078,7 @@ export struct LocalMusic {
|
|
|
LogUtil.info('twocold isHiCarKuanBianPing Math.abs(currentRatio - hiCarRatio.ratio)= ' + Math.abs(currentRatio - hiCarRatio.ratio))
|
|
LogUtil.info('twocold isHiCarKuanBianPing Math.abs(currentRatio - hiCarRatio.ratio)= ' + Math.abs(currentRatio - hiCarRatio.ratio))
|
|
|
if (Math.abs(currentRatio - hiCarRatio.ratio) <= RATIO_TOLERANCE) {
|
|
if (Math.abs(currentRatio - hiCarRatio.ratio) <= RATIO_TOLERANCE) {
|
|
|
// LogUtil.info(`HiCar detected: ${hiCarRatio.name}, actual: ${this.windowWidth}x${this.windowHeight}`);
|
|
// LogUtil.info(`HiCar detected: ${hiCarRatio.name}, actual: ${this.windowWidth}x${this.windowHeight}`);
|
|
|
- return true;
|
|
|
|
|
|
|
+ return this.isHiCar();
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -6106,7 +6106,7 @@ export struct LocalMusic {
|
|
|
LogUtil.info('twocold isHiCarSmall isHiCarStatus= ' + this.isHiCarStatus);
|
|
LogUtil.info('twocold isHiCarSmall isHiCarStatus= ' + this.isHiCarStatus);
|
|
|
if (Math.abs(currentRatio - hiCarRatio.ratio) <= RATIO_TOLERANCE) {
|
|
if (Math.abs(currentRatio - hiCarRatio.ratio) <= RATIO_TOLERANCE) {
|
|
|
// LogUtil.info(`HiCar detected: ${hiCarRatio.name}, actual: ${this.windowWidth}x${this.windowHeight}`);
|
|
// LogUtil.info(`HiCar detected: ${hiCarRatio.name}, actual: ${this.windowWidth}x${this.windowHeight}`);
|
|
|
- return this.isHiCarStatus;
|
|
|
|
|
|
|
+ return this.isHiCar();
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -7054,7 +7054,8 @@ export struct LocalMusic {
|
|
|
|
|
|
|
|
if (this.isPhoneLan()) {
|
|
if (this.isPhoneLan()) {
|
|
|
Column() {
|
|
Column() {
|
|
|
- this.playCenterView()
|
|
|
|
|
|
|
+ this.playProgressView()
|
|
|
|
|
+ // this.playCenterView()
|
|
|
}
|
|
}
|
|
|
.margin({ bottom: 20, right: this.currentLyricAlignMode == 0 ? 0 : 30 })
|
|
.margin({ bottom: 20, right: this.currentLyricAlignMode == 0 ? 0 : 30 })
|
|
|
}
|
|
}
|
|
@@ -7692,8 +7693,8 @@ export struct LocalMusic {
|
|
|
}
|
|
}
|
|
|
if (this.isPhoneLan()) {
|
|
if (this.isPhoneLan()) {
|
|
|
Column() {
|
|
Column() {
|
|
|
-
|
|
|
|
|
- this.playProgressView()
|
|
|
|
|
|
|
+ this.playCenterView()
|
|
|
|
|
+ // this.playProgressView()
|
|
|
}
|
|
}
|
|
|
.position({ left: 40, bottom: 48 })
|
|
.position({ left: 40, bottom: 48 })
|
|
|
|
|
|