ivanceras / svgbob

Convert your ascii diagram scribbles into happy little SVG
http://ivanceras.github.io/svgbob-editor/
Apache License 2.0
3.83k stars 108 forks source link

Make --scale a multiplier of the default scale #71

Closed pepijnve closed 3 years ago

pepijnve commented 3 years ago

The help for the --scale option states the default value is 1. This is not the case though (current default is 8.0) which leads to the surprising result that without a scale argument the output width will be x and with, for instance --scale 2 the output width will be x / 4 instead of x * 2.

This change makes the CLI scale argument a multiplier of the default scale instead of overwriting the default scale.

ivanceras commented 3 years ago

Thanks for the PR. merged.