mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-27 01:12:21 -08:00
add Artplayer.CONTEXTMENU
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user