mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-02-02 20:29:10 +00:00
Scale should default to 1x
This commit is contained in:
parent
377be1e4d4
commit
2c271077aa
@ -46,7 +46,7 @@ exports.startup = function() {
|
|||||||
height: $tw.utils.parseInt(params.height) || domNode.offsetHeight,
|
height: $tw.utils.parseInt(params.height) || domNode.offsetHeight,
|
||||||
width: $tw.utils.parseInt(params.width) || domNode.offsetWidth,
|
width: $tw.utils.parseInt(params.width) || domNode.offsetWidth,
|
||||||
quality: $tw.utils.parseNumber(params.quality),
|
quality: $tw.utils.parseNumber(params.quality),
|
||||||
scale: $tw.utils.parseNumber(params.scale)
|
scale: $tw.utils.parseNumber(params.scale) || 1
|
||||||
})
|
})
|
||||||
.then(function(dataUrl) {
|
.then(function(dataUrl) {
|
||||||
// Save the image
|
// Save the image
|
||||||
|
Loading…
Reference in New Issue
Block a user