fix
This commit is contained in:
@@ -235,12 +235,14 @@ export class DetailImageItem extends Component {
|
|||||||
ResManager.I.changeRemoteSpriteFrame(this.img, newPath, () => {
|
ResManager.I.changeRemoteSpriteFrame(this.img, newPath, () => {
|
||||||
this.scaleToFillItem();
|
this.scaleToFillItem();
|
||||||
});
|
});
|
||||||
if (this.isVisible) {
|
if (this.type === proto.cs.EnmResType.ERT_Video) {
|
||||||
this.video.enabled = false;
|
if (this.isVisible) {
|
||||||
this.videoReady.enabled = true;
|
this.video.enabled = false;
|
||||||
} else {
|
this.videoReady.enabled = true;
|
||||||
this.video.enabled = true;
|
} else {
|
||||||
this.videoReady.enabled = false;
|
this.video.enabled = true;
|
||||||
|
this.videoReady.enabled = false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
Submodule xchat_cfg updated: a6d2828704...fae3e2a32a
Reference in New Issue
Block a user