mirror of
https://github.com/konvajs/konva.git
synced 2025-12-05 03:24:23 +08:00
re-integrated simple serialization and deserialization with new attrs structure
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
*/
|
||||
Kinetic.Layer = function(config) {
|
||||
this.nodeType = 'Layer';
|
||||
|
||||
this.canvas = document.createElement('canvas');
|
||||
this.context = this.canvas.getContext('2d');
|
||||
this.canvas.style.position = 'absolute';
|
||||
|
||||
Reference in New Issue
Block a user