Image editor mobile layout update (#613)
* Image editor mobile layout update * Minor viewport fix
This commit is contained in:
parent
aa786068cf
commit
e2055dfb78
3 changed files with 219 additions and 256 deletions
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue