mirror of
https://gitee.com/openharmony/applications_photos
synced 2024-11-27 01:01:06 +00:00
!77 修复问题1.视频播放键和loading按钮同时出现2.编辑图片后功能键消失
Merge pull request !77 from Fanny/master
This commit is contained in:
commit
9d7aecc112
@ -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({
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user