Merge pull request #55 from OptimistikSAS/issues/37

#37 Clicking anywhere on the bottom bar open color popup
master
JFH 2021-01-07 13:18:54 +01:00 committed by GitHub
commit 4cc02128a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ 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">
`<svg xmlns="http://www.w3.org/2000/svg" width="22" height="22">
<rect
fill="#000000" opacity="1" width="22" height="22"/>
<defs><linearGradient id="gradbox_${PaintBox.ctr++}"/></defs>