rename moveInit

This commit is contained in:
Harvey Zack committed 2023-04-18 00:03:59 +08:00
1 parent 455bd807a7
commit 3ab2e96144
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -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,4 +1,4 @@
export default function mousemoveInitInit(art, events) {
export default function moveInit(art, events) {
const { $player } = art.template;
events.proxy($player, 'mousemove', (event) => {