Commit d9ae55eb authored by 范雪寒's avatar 范雪寒

test:

parent 3d6b2132
...@@ -77,6 +77,7 @@ cc.Class({ ...@@ -77,6 +77,7 @@ cc.Class({
this.MaxSize = 1; this.MaxSize = 1;
}, },
init: function () { init: function () {
console.log('view init ');
var canvaSize = this.findCanvas(); var canvaSize = this.findCanvas();
cc.director._scene.width = canvaSize.width; cc.director._scene.width = canvaSize.width;
cc.director._scene.height = canvaSize.height; cc.director._scene.height = canvaSize.height;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment