@versa_ai/vmml-editor 1.0.50 → 1.0.51

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.
package/dist/index.mjs CHANGED
@@ -2598,13 +2598,13 @@ var EditorFn = ({
2598
2598
  }
2599
2599
  };
2600
2600
  const onControlsClick = () => {
2601
+ setPreviewState(true);
2601
2602
  if (previewState) {
2602
2603
  const { current } = vmmlPlayerRef;
2603
2604
  current.unmute();
2604
2605
  current.play();
2605
2606
  } else {
2606
2607
  setMenuState("");
2607
- setPreviewState(true);
2608
2608
  }
2609
2609
  };
2610
2610
  const onClickMenu = (type) => {