#37 Clicking anywhere on the bottom bar (for example below the opacity button is displaying the “color popup”.)

master
Agriya Dev5 2021-01-07 14:52:10 +05:30
parent 11c4f73968
commit 94f6366236
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ class PaintBox {
constructor (container, type) { constructor (container, type) {
// set up gradients to be used for the buttons // set up gradients to be used for the buttons
const svgdocbox = new DOMParser().parseFromString( 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 <rect
fill="#000000" opacity="1" width="22" height="22"/> fill="#000000" opacity="1" width="22" height="22"/>
<defs><linearGradient id="gradbox_${PaintBox.ctr++}"/></defs> <defs><linearGradient id="gradbox_${PaintBox.ctr++}"/></defs>