viewer: fix highres for nx

Signed-off-by: Varun Patil <radialapps@gmail.com>
pull/653/head
Varun Patil 2023-05-11 19:49:13 -07:00
parent e87ae9ffb7
commit 7a73902238
1 changed files with 1 additions and 1 deletions

View File

@ -780,7 +780,7 @@ export default defineComponent({
// Get full image URL // Get full image URL
const fullUrl = isvideo const fullUrl = isvideo
? null ? null
: this.isLocal : photo.flag & this.c.FLAG_IS_LOCAL
? nativex.API.IMAGE_FULL(photo.fileid) ? nativex.API.IMAGE_FULL(photo.fileid)
: API.IMAGE_DECODABLE(photo.fileid, photo.etag); : API.IMAGE_DECODABLE(photo.fileid, photo.etag);
const fullLoadCond = this.config.full_res_always ? 'always' : this.config.full_res_on_zoom ? 'zoom' : 'never'; const fullLoadCond = this.config.full_res_always ? 'always' : this.config.full_res_on_zoom ? 'zoom' : 'never';