viewer: fix highres for nx
Signed-off-by: Varun Patil <radialapps@gmail.com>pull/653/head
parent
e87ae9ffb7
commit
7a73902238
|
@ -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';
|
||||||
|
|
Loading…
Reference in New Issue