@mulmoclaude/mulmoscript-plugin 0.2.1 → 0.2.3

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/vue.js CHANGED
@@ -992,6 +992,7 @@ var View_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCompo
992
992
  return;
993
993
  }
994
994
  const prevImage = JSON.stringify(effectiveBeat(index).image);
995
+ const prevText = effectiveBeat(index).text;
995
996
  const requestedFilePath = filePath.value;
996
997
  Reflect.deleteProperty(beatSaveErrors, index);
997
998
  beatSaving[index] = true;
@@ -1015,6 +1016,13 @@ var View_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCompo
1015
1016
  Reflect.deleteProperty(renderedImages, index);
1016
1017
  renderBeat(index);
1017
1018
  }
1019
+ if (beat.text !== prevText) {
1020
+ if (playingAudio.value?.index === index) stopAllPlayback();
1021
+ Reflect.deleteProperty(beatAudios, index);
1022
+ Reflect.deleteProperty(audioState, index);
1023
+ Reflect.deleteProperty(audioErrors, index);
1024
+ if (beat.text) loadExistingBeatAudio(index);
1025
+ }
1018
1026
  }
1019
1027
  async function renderBeat(index) {
1020
1028
  const requestedFilePath = filePath.value;
@@ -1921,7 +1929,7 @@ var _plugin_vue_export_helper_default = (sfc, props) => {
1921
1929
  };
1922
1930
  //#endregion
1923
1931
  //#region src/vue/View.vue
1924
- var View_default = /*#__PURE__*/ _plugin_vue_export_helper_default(View_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-485600b7"]]);
1932
+ var View_default = /*#__PURE__*/ _plugin_vue_export_helper_default(View_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-c28ee15a"]]);
1925
1933
  //#endregion
1926
1934
  //#region src/vue/Preview.vue?vue&type=script&setup=true&lang.ts
1927
1935
  var _hoisted_1 = {