mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-25 08:01:20 -08:00
优化自动隐藏controls
This commit is contained in:
1 parent
ce56c680da
commit
be3d97bf75
6 files changed
+36
-75
No files matched your search
@@ -2,7 +2,6 @@ import { includeFromEvent } from '../utils';
|
||||
|
||||
export default function clickInit(art, events) {
|
||||
const {
|
||||
controls,
|
||||
template: { $player },
|
||||
} = art;
|
||||
|
||||
@@ -15,8 +14,4 @@ export default function clickInit(art, events) {
|
||||
art.emit('blur');
|
||||
}
|
||||
});
|
||||
|
||||
art.on('blur', () => {
|
||||
controls.delayHide();
|
||||
});
|
||||
}
|
||||
Reference in new issue
Block a user