add Artplayer.CONTEXTMENU

This commit is contained in:
Harvey Zack committed 2022-11-10 18:01:28 +08:00
1 parent aab4a1caaf
commit 6250936443
25 files changed
+35 -27

No files matched your search

@@ -80,6 +80,8 @@ export default class Contextmenu extends Component {
proxy($player, 'contextmenu', (event) => {
event.preventDefault();
if (!this.art.constructor.CONTEXTMENU) return;
this.show = true;
const mouseX = event.clientX;