ModularWidgets: Add a quick VR demo widget
This commit is contained in:
@@ -65,6 +65,9 @@ module.exports = React.createClass({
|
||||
app.name += ' - ' + app.data.confId;
|
||||
break;
|
||||
}
|
||||
case 'vrdemo':
|
||||
app.name = 'Matrix VR Demo';
|
||||
break;
|
||||
}
|
||||
|
||||
return app;
|
||||
@@ -149,6 +152,12 @@ module.exports = React.createClass({
|
||||
},
|
||||
};
|
||||
break;
|
||||
case 'vrdemo':
|
||||
appsStateEvent.vrDemo = {
|
||||
type: type,
|
||||
url: 'http://localhost:8000/vrdemo.html',
|
||||
};
|
||||
break;
|
||||
case 'custom':
|
||||
appsStateEvent.custom = {
|
||||
type: type,
|
||||
|
||||
Reference in New Issue
Block a user