refactor: update event handling in plugins and core

- Changed event handling from `art.proxy` to `art.on` for visibility change and pointer events in the ads and danmuku plugins to improve consistency and maintainability.
- Bumped version of the danmuku plugin from 5.1.8 to 5.1.9.
- Added pointer events to the global event initialization in the core to ensure proper event handling across the application.
This commit is contained in:
Harvey Zack committed 2025-08-16 21:17:29 +08:00
1 parent e834246641
commit fa0961a9f9
16 files changed
+22 -19

No files matched your search

@@ -6,7 +6,10 @@ export default function globalInit(art, events) {
'touchend',
'touchmove',
'mousemove',
'pointerup',
'contextmenu',
'pointermove',
'visibilitychange',
'webkitfullscreenchange',
]