We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 395a6f8 commit 959ffb0Copy full SHA for 959ffb0
1 file changed
js/demo/demo.js
@@ -214,8 +214,10 @@ $(function () {
214
if (img) {
215
updateResults(
216
loadImage.scale(img, {
217
+ maxWidth: result.width() * window.devicePixelRatio,
218
pixelRatio: window.devicePixelRatio,
- orientation: Number($('#orientation').val()) || true
219
+ orientation: Number($('#orientation').val()) || true,
220
+ imageSmoothingEnabled: $('#image-smoothing').is(':checked')
221
})
222
)
223
}
0 commit comments