mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-15 00:47:44 -08:00
Optimize setBar event and reduce delay for hiding chapter title in artplayer-plugin-chapter
This commit is contained in:
1 parent
e8d7ae91f0
commit
94e34320e0
6 files changed
+20
-13
No files matched your search
@@ -204,7 +204,7 @@ function artplayerPluginChapter({ chapters = [] }) {
|
||||
clearTimeout(titleTimer);
|
||||
titleTimer = setTimeout(()=>{
|
||||
setStyle($title, "display", "none");
|
||||
}, 1000);
|
||||
}, 500);
|
||||
}
|
||||
} else if (type === "hover") showTitle({
|
||||
$chapter,
|
||||
|
||||
Reference in new issue
Block a user