From e42e14dc986eb652a813f2cc730dddf187e2ff94 Mon Sep 17 00:00:00 2001 From: liteng <930372551@qq.com> Date: Thu, 3 Jan 2019 20:34:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E7=89=A9=E7=90=86=E6=BC=94?= =?UTF-8?q?=E7=A4=BA=E8=8F=9C=E5=8D=95=EF=BC=8C=E6=AD=A3=E5=BC=8F=E6=8E=A5?= =?UTF-8?q?=E5=85=A5=E7=89=A9=E7=90=86=E5=BC=95=E6=93=8E=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ShadowEditor.Web/src/editor/menubar/Menubar.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/ShadowEditor.Web/src/editor/menubar/Menubar.js b/ShadowEditor.Web/src/editor/menubar/Menubar.js index e4a9e6d5..819381a0 100644 --- a/ShadowEditor.Web/src/editor/menubar/Menubar.js +++ b/ShadowEditor.Web/src/editor/menubar/Menubar.js @@ -6,7 +6,7 @@ import GeometryMenu from './GeometryMenu'; import LightMenu from './LightMenu'; import AssetMenu from './AssetMenu'; import TerrainMenu from './TerrainMenu'; -import PhysicsMenu from './PhysicsMenu'; +// import PhysicsMenu from './PhysicsMenu'; import ComponentMenu from './ComponentMenu'; import PlayMenu from './PlayMenu'; import OptionsMenu from './OptionsMenu'; @@ -27,7 +27,9 @@ Menubar.prototype = Object.create(UI.Control.prototype); Menubar.prototype.constructor = Menubar; Menubar.prototype.render = function () { - var params = { app: this.app }; + var params = { + app: this.app + }; var container = UI.create({ xtype: 'div', @@ -45,7 +47,7 @@ Menubar.prototype.render = function () { new LightMenu(params), new AssetMenu(params), new TerrainMenu(params), - new PhysicsMenu(params), + // new PhysicsMenu(params), new ComponentMenu(params), new PlayMenu(params), new OptionsMenu(params),