not this commit

This commit is contained in:
Лаврёнов Антон
2013-11-15 01:06:34 +08:00
parent 3c8c0831ab
commit cf32e72b85
2 changed files with 2 additions and 35 deletions

View File

@@ -1009,8 +1009,8 @@
x = config.x || 0,
y = config.y || 0,
canvas = new Kinetic.SceneCanvas({
width: this.getWidth() || config.width || (stage ? stage.getWidth() : 0),
height: this.getHeight() || config.height || (stage ? stage.getHeight() : 0),
width: config.width || stage.getWidth(),
height: config.height || stage.getHeight(),
pixelRatio: 1
}),
context = canvas.getContext();