!77 修复问题1.视频播放键和loading按钮同时出现2.编辑图片后功能键消失

Merge pull request !77 from Fanny/master
This commit is contained in:
openharmony_ci 2022-08-25 06:34:26 +00:00 committed by Gitee
commit 9d7aecc112
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 2 additions and 0 deletions

View File

@ -341,6 +341,7 @@ export struct PhotoItem {
.objectFit(ImageFit.Contain)
.width($r('app.float.icon_video_size'))
.height($r('app.float.icon_video_size'))
.visibility(!this.isLoading ? Visibility.Visible : Visibility.None)
.onClick(() => {
if (this.item != undefined) {
router.push({

View File

@ -62,6 +62,7 @@ export class PhotoEditorManager {
clear() {
this.logger.debug('clear');
this.editors[this.currentMode].exit();
this.item = undefined;
this.origin && this.origin.release();
this.origin = undefined;