mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-18 02:21:20 -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
@@ -74,7 +74,7 @@ export default function artplayerPluginChapter({ chapters = [] }) {
|
||||
clearTimeout(titleTimer);
|
||||
titleTimer = setTimeout(() => {
|
||||
setStyle($title, 'display', 'none');
|
||||
}, 1000);
|
||||
}, 500);
|
||||
}
|
||||
} else {
|
||||
if (type === 'hover') {
|
||||
|
||||
Reference in new issue
Block a user