mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-01-22 01:30:35 -05:00
plugins: imageviewer: don't downscale unscaled image if it fits on screen
Change-Id: Ifd686884d1d8fe3dca9da58ba38ee2de822b5787
This commit is contained in:
parent
3ee26f761b
commit
2e1af37536
1 changed files with 1 additions and 1 deletions
|
|
@ -953,7 +953,7 @@ reload_decoder:
|
|||
return change_filename(direction);
|
||||
}
|
||||
}
|
||||
else if (ds_max < ds_min)
|
||||
else if (ds_max < ds_min && !(ds_max == 1 && imgdec->unscaled_avail))
|
||||
ds_max = ds_min;
|
||||
|
||||
ds = ds_max; /* initialize setting */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue