mirror of
https://github.com/konvajs/konva.git
synced 2026-01-23 21:34:50 +08:00
remove unused inject
This commit is contained in:
@@ -33,14 +33,6 @@ Konva.Util.createImageElement = () => {
|
|||||||
return node;
|
return node;
|
||||||
};
|
};
|
||||||
|
|
||||||
Konva.Util._urlToImage = (url, callback) => {
|
|
||||||
const imageObj = Konva.Util.createImageElement();
|
|
||||||
imageObj.onload = function () {
|
|
||||||
callback(imageObj);
|
|
||||||
};
|
|
||||||
imageObj.src = url;
|
|
||||||
};
|
|
||||||
|
|
||||||
// _checkVisibility use dom element, in node we can skip it
|
// _checkVisibility use dom element, in node we can skip it
|
||||||
Konva.Stage.prototype._checkVisibility = () => {};
|
Konva.Stage.prototype._checkVisibility = () => {};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user