add viewbox

This commit is contained in:
EddyVinck
2019-10-13 12:30:43 +02:00
parent 05f41acd10
commit dd45d80cc7
2 changed files with 2 additions and 1 deletions

View File

@@ -8,6 +8,7 @@ const makeRoughLogo = () => {
"http://www.w3.org/1999/xlink"
);
roughLogo.setAttribute("xmlns", "http://www.w3.org/2000/svg");
roughLogo.setAttribute("viewbox", "0 0 200 200");
document.body.appendChild(roughLogo);
const rc = rough.svg(roughLogo);

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 451 KiB

After

Width:  |  Height:  |  Size: 451 KiB