resolves #53
This commit is contained in:
@@ -362,8 +362,8 @@ class SceneHeader{
|
||||
|
||||
this.init = function(scene, startBtnCallback){
|
||||
[startBtn, title.object, description.object].forEach(o=>o.visible = false);
|
||||
title.object.text = scene.data.title;
|
||||
description.object.text = scene.data.description;
|
||||
title.object.text = scene.data.title || '';
|
||||
description.object.text = scene.data.description || '';
|
||||
engine.clickable.add(startBtn, ()=>{
|
||||
startBtnCallback();
|
||||
[startBtn, title.object, description.object].forEach(o=>o.visible = false);
|
||||
|
||||
Reference in New Issue
Block a user