wiki-plugin-rcngraph 0.1.18 → 0.1.19
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/client/rcngraph.js +3 -3
- package/package.json +1 -1
package/client/rcngraph.js
CHANGED
|
@@ -319,7 +319,7 @@
|
|
|
319
319
|
<span class="walk-count" style="display:none;font-size:12px;color:#64748b;min-width:70px;text-align:center"></span>
|
|
320
320
|
<button class="walk-voice" style="${b}display:none" title="Read the words aloud, or show them only"></button>
|
|
321
321
|
<select class="walk-speaker" style="font-size:12px;max-width:170px;display:none" title="Whose voice reads the walk (kept in this browser)"></select>
|
|
322
|
-
<button class="walk-voiceset" style="${b}
|
|
322
|
+
<button class="walk-voiceset" style="${b}" title="Choose which voice reads the walk, and how fast">⚙ Choose voice</button>
|
|
323
323
|
<button class="walk-close" style="${b}display:none" title="Stop the walk (Esc)">■ Stop</button>
|
|
324
324
|
</div>
|
|
325
325
|
<div class="walk-voicepanel" style="display:none;margin:6px 4px 0;padding:8px 10px;background:#eef2ff;border-radius:8px;font-size:12px;color:#374151">
|
|
@@ -458,8 +458,8 @@
|
|
|
458
458
|
const walk = curWalk(), open = !!walk
|
|
459
459
|
if (note) wk.heard = wk.i; else if (wk.playing) wk.heard = null
|
|
460
460
|
const $bar = $item.find('.walk-bar')
|
|
461
|
-
$bar.find('.walk-prev, .walk-next, .walk-play, .walk-count, .walk-voice, .walk-
|
|
462
|
-
$bar.find('.walk-voicepanel').toggle(
|
|
461
|
+
$bar.find('.walk-prev, .walk-next, .walk-play, .walk-count, .walk-voice, .walk-close').toggle(open)
|
|
462
|
+
$bar.find('.walk-voicepanel').toggle(!!wk.vp) // before a walk starts too: choose first, then listen
|
|
463
463
|
$bar.find('.walk-voiceset').css('background', wk.vp ? '#eef2ff' : '')
|
|
464
464
|
$bar.find('.walk-start, .walk-pick').toggle(!open)
|
|
465
465
|
$bar.find('.walk-say').toggle(open)
|