Enable editor for png

pull/175/head
Varun Patil 2022-11-07 04:55:52 -08:00
parent f8e4231cae
commit 4b4084a57d
1 changed files with 1 additions and 1 deletions

View File

@ -610,7 +610,7 @@ export default class Viewer extends Mixins(GlobalMixin) {
} }
get canEdit() { get canEdit() {
return this.currentPhoto?.mimetype === "image/jpeg"; return ["image/jpeg", "image/png"].includes(this.currentPhoto?.mimetype);
} }
private openEditor() { private openEditor() {