Skip to content

Commit

Permalink
#37 Clicking anywhere on the bottom bar (for example below the opacit…
Browse files Browse the repository at this point in the history
…y button is displaying the “color popup”.)
  • Loading branch information
AgriyaDev5 committed Jan 7, 2021
1 parent 11c4f73 commit 94f6366
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/editor/components/PaintBox.js
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 94f6366

Please sign in to comment.