Skip to content

Commit

Permalink
fix: Multi Layer not work because of style in basicOperation
Browse files Browse the repository at this point in the history
It needs to fobid the style change of outer dom element.
  • Loading branch information
Kerwin-L committed Aug 30, 2022
1 parent fbb155d commit b37cbd9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,8 @@ class BasicToolOperation extends EventListener {
canvas.height = size.height * pixel;

// set Attribute
this.container.style.position = 'relative';
// this.container.style.position = 'relative';

if (isAppend) {
if (this.container.hasChildNodes()) {
this.container.insertBefore(canvas, this.container.childNodes[0]);
Expand Down

0 comments on commit b37cbd9

Please sign in to comment.