mirror of
https://github.com/konvajs/konva.git
synced 2026-03-03 16:58:33 +08:00
fix #500
This commit is contained in:
@@ -153,6 +153,10 @@
|
||||
if(content && Kinetic.Util._isInDocument(content)) {
|
||||
this.getContainer().removeChild(content);
|
||||
}
|
||||
var index = Kinetic.stages.indexOf(this);
|
||||
if (index > -1) {
|
||||
Kinetic.stages.splice(index, 1);
|
||||
}
|
||||
},
|
||||
/**
|
||||
* get pointer position which can be a touch position or mouse position
|
||||
|
||||
Reference in New Issue
Block a user