mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-11 05:26:15 -08:00
rename moveInit
This commit is contained in:
1 parent
455bd807a7
commit
3ab2e96144
2 files changed
+3
-3
No files matched your search
@@ -1,7 +1,7 @@
|
||||
import { ArtPlayerError } from '../utils/error';
|
||||
import clickInit from './clickInit';
|
||||
import hoverInit from './hoverInit';
|
||||
import mouseMoveInit from './mouseMoveInit';
|
||||
import moveInit from './moveInit';
|
||||
import resizeInit from './resizeInit';
|
||||
import gestureInit from './gestureInit';
|
||||
import viewInit from './viewInit';
|
||||
@@ -17,7 +17,7 @@ export default class Events {
|
||||
if (art.whitelist.state) {
|
||||
clickInit(art, this);
|
||||
hoverInit(art, this);
|
||||
mouseMoveInit(art, this);
|
||||
moveInit(art, this);
|
||||
resizeInit(art, this);
|
||||
gestureInit(art, this);
|
||||
viewInit(art, this);
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
export default function mousemoveInitInit(art, events) {
|
||||
export default function moveInit(art, events) {
|
||||
const { $player } = art.template;
|
||||
|
||||
events.proxy($player, 'mousemove', (event) => {
|
||||
Reference in new issue
Block a user