Image editor mobile layout update (#613)

* Image editor mobile layout update

* Minor viewport fix
This commit is contained in:
Ollie H 2023-05-15 14:54:14 -07:00 committed by GitHub
parent aa786068cf
commit e2055dfb78
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 219 additions and 256 deletions

View file

@ -52,16 +52,14 @@ export class GalleryModel {
}
async edit(image: ImageModel) {
if (!isNative) {
if (isNative) {
this.crop(image)
} else {
this.rootStore.shell.openModal({
name: 'edit-image',
image,
gallery: this,
})
return
} else {
this.crop(image)
}
}