修复bug。

This commit is contained in:
liteng 2018-09-22 22:15:15 +08:00
parent 211ef2f70c
commit aedf2d33d3
3 changed files with 2 additions and 2 deletions

View File

@ -562,7 +562,7 @@ table.Table .TableBody td {
/* 场景编辑区 */
.viewport {
position: relative;
position: absolute;
width: 100%;
height: 100%;
}

View File

@ -76,7 +76,6 @@ function Application(container, options) {
xtype: 'div',
style: {
position: 'relative',
height: 'calc(100% - 272px)',
flex: 1
},
children: [

View File

@ -65,6 +65,7 @@ Player.prototype.start = function () {
camera: this.app.editor.camera,
renderer: this.app.editor.renderer,
scripts: this.app.editor.scripts,
animation: this.app.editor.animation,
scene: this.app.editor.scene
});