Update display.js

This commit is contained in:
mmcclaskey 2021-09-10 13:41:03 -04:00 committed by GitHub
parent 4c8e8ef1e1
commit 6b283b2313
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -464,7 +464,7 @@ export default class Display {
if (factor === 1 && this._target.style.imageRendering !== 'pixelated') {
this._target.style.imageRendering = 'pixelated';
} else if (factor !== 1 && this._target.style.imageRendering !== 'high-quality') {
} else if (factor !== 1 && this._target.style.imageRendering !== 'auto') {
this._target.style.imageRendering = 'auto';
}
}