mirror of
https://github.com/konvajs/konva.git
synced 2025-10-15 12:34:52 +08:00
fix to
onFinish callback flow
This commit is contained in:
@@ -37,7 +37,6 @@
|
|||||||
|
|
||||||
DIV = 'div',
|
DIV = 'div',
|
||||||
RELATIVE = 'relative',
|
RELATIVE = 'relative',
|
||||||
INLINE_BLOCK = 'inline-block',
|
|
||||||
KONVA_CONTENT = 'konvajs-content',
|
KONVA_CONTENT = 'konvajs-content',
|
||||||
SPACE = ' ',
|
SPACE = ' ',
|
||||||
UNDERSCORE = '_',
|
UNDERSCORE = '_',
|
||||||
@@ -700,7 +699,6 @@
|
|||||||
// content
|
// content
|
||||||
this.content = Konva.document.createElement(DIV);
|
this.content = Konva.document.createElement(DIV);
|
||||||
this.content.style.position = RELATIVE;
|
this.content.style.position = RELATIVE;
|
||||||
this.content.style.display = INLINE_BLOCK;
|
|
||||||
this.content.className = KONVA_CONTENT;
|
this.content.className = KONVA_CONTENT;
|
||||||
this.content.setAttribute('role', 'presentation');
|
this.content.setAttribute('role', 'presentation');
|
||||||
container.appendChild(this.content);
|
container.appendChild(this.content);
|
||||||
|
Reference in New Issue
Block a user