This commit is contained in:
Gregoire Parant 2020-11-04 16:30:01 +01:00
parent 968787555f
commit a1d3b01619

View File

@ -479,7 +479,7 @@ export class GameScene extends ResizableScene implements CenterListener {
const openWebsiteTriggerValue = allProps.get('openWebsiteTrigger'); const openWebsiteTriggerValue = allProps.get('openWebsiteTrigger');
if(openWebsiteTriggerValue && openWebsiteTriggerValue === 'onaction') { if(openWebsiteTriggerValue && openWebsiteTriggerValue === 'onaction') {
layoutManager.addActionButton('openWebsite', 'Clik on SPACE to open web site', () => { layoutManager.addActionButton('openWebsite', 'Click on SPACE to open web site', () => {
openWebsiteFunction(); openWebsiteFunction();
}, this.userInputManager); }, this.userInputManager);
}else{ }else{
@ -506,7 +506,7 @@ export class GameScene extends ResizableScene implements CenterListener {
const jitsiTriggerValue = allProps.get('jitsiTrigger'); const jitsiTriggerValue = allProps.get('jitsiTrigger');
if(jitsiTriggerValue && jitsiTriggerValue === 'onaction') { if(jitsiTriggerValue && jitsiTriggerValue === 'onaction') {
layoutManager.addActionButton('jitsiRoom', 'Clik on SPACE to enter in jitsi meet room', () => { layoutManager.addActionButton('jitsiRoom', 'Click on SPACE to enter in jitsi meet room', () => {
openJitsiRoomFunction(); openJitsiRoomFunction();
}, this.userInputManager); }, this.userInputManager);
}else{ }else{