mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
seekbar focus
This commit is contained in:
parent
3c6087cc03
commit
168b9d3246
1 changed files with 6 additions and 2 deletions
|
@ -685,8 +685,12 @@ export default {
|
||||||
array.push(`black ${start + 0.1}%`);
|
array.push(`black ${start + 0.1}%`);
|
||||||
array.push(`transparent ${start + 0.1}%`);
|
array.push(`transparent ${start + 0.1}%`);
|
||||||
}
|
}
|
||||||
console.log(800, array, this.seekbar);
|
seekbar.style.background = `linear-gradient(${array.join(",")})`;
|
||||||
if (seekbar) seekbar.style.background = `linear-gradient(${array.join(",")})`;
|
|
||||||
|
seekbar.addEventListener("mouseup", () => {
|
||||||
|
console.log(111);
|
||||||
|
this.$refs.videoEl.focus();
|
||||||
|
});
|
||||||
},
|
},
|
||||||
async updateProgressDatabase(time) {
|
async updateProgressDatabase(time) {
|
||||||
// debounce
|
// debounce
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue