photo: increase hq aggressiveness

old-stable24
Varun Patil 2022-10-26 11:45:28 -07:00
parent 40f16244ea
commit 87952fa8e5
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ export default class Photo extends Mixins(GlobalMixin) {
let base = 256;
// Check if displayed size is larger than the image
if (this.data.dispH > base && this.data.dispW > base) {
if (this.data.dispH > base * 0.9 && this.data.dispW > base * 0.9) {
// Get a bigger image
// 1. No trickery here, just get one size bigger. This is to
// ensure that the images can be cached even after reflow.