This commit is contained in:
2025-10-16 18:19:12 +08:00
parent fba0dc79fe
commit c907f6a1ff
2 changed files with 9 additions and 7 deletions
@@ -235,6 +235,7 @@ export class DetailImageItem extends Component {
ResManager.I.changeRemoteSpriteFrame(this.img, newPath, () => {
this.scaleToFillItem();
});
if (this.type === proto.cs.EnmResType.ERT_Video) {
if (this.isVisible) {
this.video.enabled = false;
this.videoReady.enabled = true;
@@ -244,6 +245,7 @@ export class DetailImageItem extends Component {
}
}
}
}
reset() {
this.base = null;