sebastien před 7 roky
rodič
revize
d7476683fa
1 změnil soubory, kde provedl 3 přidání a 3 odebrání
  1. 3 3
      src/Audio/babylon.audioEngine.ts

+ 3 - 3
src/Audio/babylon.audioEngine.ts

@@ -40,7 +40,7 @@
          * Defines if the audio engine relies on a custom unlocked button.
          * Defines if the audio engine relies on a custom unlocked button.
          * In this case, the embedded button will not be displayed.
          * In this case, the embedded button will not be displayed.
          */
          */
-        useCutomUnlockedButton: boolean;
+        useCustomUnlockedButton: boolean;
 
 
         /**
         /**
          * Gets whether or not the audio engine is unlocked (require first a user gesture on some browser).
          * Gets whether or not the audio engine is unlocked (require first a user gesture on some browser).
@@ -124,7 +124,7 @@
          * Defines if the audio engine relies on a custom unlocked button.
          * Defines if the audio engine relies on a custom unlocked button.
          * In this case, the embedded button will not be displayed.
          * In this case, the embedded button will not be displayed.
          */
          */
-        public useCutomUnlockedButton: boolean = false;
+        public useCustomUnlockedButton: boolean = false;
 
 
         /**
         /**
          * Event raised when audio has been unlocked on the browser.
          * Event raised when audio has been unlocked on the browser.
@@ -294,7 +294,7 @@
         }
         }
 
 
         private _displayMuteButton(iOS: boolean = false) {
         private _displayMuteButton(iOS: boolean = false) {
-            if (this.useCutomUnlockedButton) {
+            if (this.useCustomUnlockedButton) {
                 return;
                 return;
             }
             }