@babylonjs/gui 8.7.1 → 8.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -376,7 +376,7 @@ export class ColorPicker extends Control {
376
376
  * @returns picked color as a hex string and the saved colors array as hex strings.
377
377
  */
378
378
  static async ShowPickerDialogAsync(advancedTexture, options) {
379
- return new Promise((resolve) => {
379
+ return await new Promise((resolve) => {
380
380
  // Default options
381
381
  options.pickerWidth = options.pickerWidth || "640px";
382
382
  options.pickerHeight = options.pickerHeight || "400px";