mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-24 23:51:20 -08:00
rename moveInit
This commit is contained in:
1 parent
455bd807a7
commit
3ab2e96144
2 files changed
+3
-3
No files matched your search
@@ -0,0 +1,7 @@
|
||||
export default function moveInit(art, events) {
|
||||
const { $player } = art.template;
|
||||
|
||||
events.proxy($player, 'mousemove', (event) => {
|
||||
art.emit('mousemove', event);
|
||||
});
|
||||
}
|
||||
Reference in new issue
Block a user