konva-node
Advanced tools
Comparing version
@@ -29,2 +29,9 @@ var Konva = require('konva'); | ||
// create canvas in Node env | ||
Konva.Util.createImageElement = () => { | ||
const node = new canvas.Image(); | ||
node.style = {}; | ||
return node; | ||
}; | ||
// _checkVisibility use dom element, in node we can skip it | ||
@@ -31,0 +38,0 @@ Konva.Stage.prototype._checkVisibility = () => {}; |
{ | ||
"name": "konva-node", | ||
"version": "0.11.0", | ||
"version": "0.11.1", | ||
"description": "Konva framework for NodeJS env", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
1411
11.19%33
22.22%