mirror of
https://github.com/konvajs/konva.git
synced 2025-10-15 12:34:52 +08:00
fixes #509 by adding layer to the list of variables inside the stage _resizeDOM method. Otherwise it is hoisted and defined globally
This commit is contained in:
@@ -287,7 +287,7 @@
|
||||
height = this.getHeight(),
|
||||
layers = this.getChildren(),
|
||||
len = layers.length,
|
||||
n;
|
||||
n, layer;
|
||||
|
||||
// set content dimensions
|
||||
this.content.style.width = width + PX;
|
||||
|
Reference in New Issue
Block a user