mirror of
https://github.com/videojs/video.js.git
synced 2025-01-02 06:32:07 +02:00
Fix mouse time tooltip when moved to far right of progress bar
This commit is contained in:
parent
a8a5e02cba
commit
c5fdd46497
@ -72,7 +72,7 @@ class ProgressControl extends Component {
|
||||
}
|
||||
|
||||
const seekBarEl = seekBar.el();
|
||||
const seekBarRect = Dom.findPosition(seekBarEl);
|
||||
const seekBarRect = Dom.getBoundingClientRect(seekBarEl);
|
||||
let seekBarPoint = Dom.getPointerPosition(seekBarEl, event).x;
|
||||
|
||||
// The default skin has a gap on either side of the `SeekBar`. This means
|
||||
|
Loading…
Reference in New Issue
Block a user