#43 With a small window, the look of the top toolbar is broken

This commit is contained in:
Agriya Dev5
2021-01-20 15:27:54 +05:30
parent 12a26edc2d
commit aaf670a9e3
5 changed files with 8 additions and 10 deletions

View File

@@ -10,9 +10,9 @@ class PaintBox {
constructor (container, type) {
// set up gradients to be used for the buttons
const svgdocbox = new DOMParser().parseFromString(
`<svg xmlns="http://www.w3.org/2000/svg" width="22" height="22">
`<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14">
<rect
fill="#000000" opacity="1" width="22" height="22"/>
fill="#000000" opacity="1" width="14" height="14"/>
<defs><linearGradient id="gradbox_${PaintBox.ctr++}"/></defs>
</svg>`,
'text/xml'