We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c79652 commit 681143cCopy full SHA for 681143c
1 file changed
js/demo/demo.js
@@ -250,10 +250,9 @@ $(function () {
250
top: coordinates.y * pixelRatio,
251
sourceWidth: coordinates.w * pixelRatio,
252
sourceHeight: coordinates.h * pixelRatio,
253
- minWidth: result.width(),
254
- maxWidth: result.width(),
+ maxWidth: result.width() * pixelRatio,
+ contain: true,
255
pixelRatio: pixelRatio,
256
- downsamplingRatio: 0.5
257
})
258
)
259
coordinates = null
0 commit comments