mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
Updated audio card playback speed characters
Refs https://github.com/TryGhost/Team/issues/1230
This commit is contained in:
parent
b6544afff5
commit
259d40641d
2 changed files with 4 additions and 2 deletions
|
@ -82,11 +82,13 @@
|
|||
}
|
||||
|
||||
.kg-audio-playback-rate {
|
||||
width: 36px;
|
||||
padding: 0 4px;
|
||||
font-family: inherit;
|
||||
font-size: .85em;
|
||||
font-weight: 600;
|
||||
line-height: 1.4em;
|
||||
text-align: left;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
|
|
|
@ -96,11 +96,11 @@ const handleAudioPlayer = function (audioElementContainer) {
|
|||
if (playbackRate === 1.0) {
|
||||
audio.playbackRate = 2;
|
||||
playbackRate = 2;
|
||||
playbackRateContainer.textContent = '2x';
|
||||
playbackRateContainer.textContent = '2×';
|
||||
} else {
|
||||
audio.playbackRate = 1.0;
|
||||
playbackRate = 1.0;
|
||||
playbackRateContainer.textContent = '1x';
|
||||
playbackRateContainer.textContent = '1×';
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue