Raanan Weber 5 年之前
父節點
當前提交
e812311349
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      Playground/js/frame.js

+ 2 - 1
Playground/js/frame.js

@@ -118,8 +118,9 @@ run = function () {
                 if (scene.activeCamera || scene.activeCameras.length > 0) {
                     scene.render();
                 }
-                if (fpsLabel)
+                if (fpsLabel) {
                     fpsLabel.innerHTML = engine.getFps().toFixed() + " fps";
+                }
             }.bind(this));
 
         } catch (e) {