瀏覽代碼

Trying to force 100% canvas size

Tyler Gess 6 年之前
父節點
當前提交
e84dd88aaa
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      weiss-postinit.js

+ 1 - 1
weiss-postinit.js

@@ -1 +1 @@
-var weissInstance = UnityLoader.instantiate("canvas", "/weiss/floating_point_weiss.json");
+var weissInstance = UnityLoader.instantiate("canvas", "/weiss/floating_point_weiss.json", {width: "100%", height: "100%"});