wiki-plugin-rcntimeline 0.3.9 → 0.3.10

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.
@@ -615,7 +615,7 @@
615
615
  <span class="walk-count" style="display:none;font-size:12px;color:#64748b;min-width:70px;text-align:center"></span>
616
616
  <button class="walk-voice" style="${b}display:none" title="Read the words aloud, or show them only"></button>
617
617
  <select class="walk-speaker" style="font-size:12px;max-width:170px;display:none" title="Whose voice reads the walk (kept in this browser)"></select>
618
- <button class="walk-voiceset" style="${b}display:none" title="Choose the voice and how fast it speaks">⚙ Voice</button>
618
+ <button class="walk-voiceset" style="${b}" title="Choose which voice reads the walk, and how fast">⚙ Choose voice</button>
619
619
  <button class="walk-close" style="${b}display:none" title="Stop the walk (Esc)">■ Stop</button>
620
620
  </div>
621
621
  <div class="walk-voicepanel" style="display:none;margin:6px 4px 0;padding:8px 10px;background:#eef2ff;border-radius:8px;font-size:12px;color:#374151">
@@ -641,8 +641,8 @@
641
641
  const ui = note => {
642
642
  const walk = cur(), open = !!walk
643
643
  const $bar = $item.find('.walk-bar')
644
- $bar.find('.walk-prev, .walk-next, .walk-play, .walk-count, .walk-voice, .walk-voiceset, .walk-close').toggle(open)
645
- $bar.find('.walk-voicepanel').toggle(open && !!wk.vp)
644
+ $bar.find('.walk-prev, .walk-next, .walk-play, .walk-count, .walk-voice, .walk-close').toggle(open)
645
+ $bar.find('.walk-voicepanel').toggle(!!wk.vp) // before a walk starts too: choose first, then listen
646
646
  $bar.find('.walk-voiceset').css('background', wk.vp ? '#eef2ff' : '')
647
647
  $bar.find('.walk-start, .walk-pick').toggle(!open)
648
648
  $bar.find('.walk-say').toggle(open)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wiki-plugin-rcntimeline",
3
- "version": "0.3.9",
3
+ "version": "0.3.10",
4
4
  "description": "Federated Wiki plugin: a small RCN timeline on a page — intervals with fuzzy edges, the links between them, a date axis; each bar opens its page",
5
5
  "keywords": [
6
6
  "wiki",