update video osd
This commit is contained in:
parent
17c23b1c8c
commit
856b9cd9ec
6 changed files with 15 additions and 15 deletions
|
@ -42,7 +42,10 @@
|
|||
|
||||
if (range.getBubbleText) {
|
||||
value = range.getBubbleText(value);
|
||||
} else {
|
||||
value = Math.round(value);
|
||||
}
|
||||
|
||||
bubbleText.innerHTML = value;
|
||||
}
|
||||
|
||||
|
@ -114,7 +117,7 @@
|
|||
var clientX = e.clientX;
|
||||
var bubbleValue = (clientX - rect.left) / rect.width;
|
||||
bubbleValue *= 100;
|
||||
updateBubble(this, Math.round(bubbleValue), sliderBubble, sliderBubbleText);
|
||||
updateBubble(this, bubbleValue, sliderBubble, sliderBubbleText);
|
||||
|
||||
if (hasHideClass) {
|
||||
sliderBubble.classList.remove('hide');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue