Commit f14d0421 authored by Lwd's avatar Lwd

commit

parent a9489a3b
......@@ -70,6 +70,9 @@ cc.Class({
},
init: function () {
var canvaSize = this.findCanvas();
cc.director._scene.width = canvaSize.width;
cc.director._scene.height = canvaSize.height;
var diff = canvaSize.width / canvaSize.height;
var bili = 750 / 1334;
if (diff > bili) {
......
This diff is collapsed.
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