1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-01-23 15:36:52 +00:00

Scale should default to 1x

This commit is contained in:
Jeremy Ruston 2024-12-10 09:13:29 +00:00
parent 377be1e4d4
commit 2c271077aa

View File

@ -46,7 +46,7 @@ exports.startup = function() {
height: $tw.utils.parseInt(params.height) || domNode.offsetHeight,
width: $tw.utils.parseInt(params.width) || domNode.offsetWidth,
quality: $tw.utils.parseNumber(params.quality),
scale: $tw.utils.parseNumber(params.scale)
scale: $tw.utils.parseNumber(params.scale) || 1
})
.then(function(dataUrl) {
// Save the image