mirror of
https://github.com/konvajs/konva.git
synced 2025-06-28 15:23:44 +08:00
Merge pull request #594 from VladimirTechMan/master
Removing now-unused method Stage#_onContent
This commit is contained in:
commit
a2094f1d85
11
src/Stage.ts
11
src/Stage.ts
@ -785,17 +785,6 @@ export class Stage extends Container {
|
|||||||
|
|
||||||
this._resizeDOM();
|
this._resizeDOM();
|
||||||
}
|
}
|
||||||
_onContent(typesStr, handler) {
|
|
||||||
var types = typesStr.split(SPACE),
|
|
||||||
len = types.length,
|
|
||||||
n,
|
|
||||||
baseEvent;
|
|
||||||
|
|
||||||
for (n = 0; n < len; n++) {
|
|
||||||
baseEvent = types[n];
|
|
||||||
this.content.addEventListener(baseEvent, handler, false);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
// currently cache function is now working for stage, because stage has no its own canvas element
|
// currently cache function is now working for stage, because stage has no its own canvas element
|
||||||
cache() {
|
cache() {
|
||||||
Util.warn(
|
Util.warn(
|
||||||
|
Loading…
Reference in New Issue
Block a user