This commit is contained in:
Harvey Zack committed 2018-11-05 10:38:22 +08:00
1 parent ea3feb72b7
commit 3919ee2f3d
21 files changed
+252 -289

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@ export default class Hotkey {
init() {
const { player, refs: { $player }, events: { proxy } } = this.art;
proxy(document, 'click', event => {
proxy(document, ['click', 'contextmenu'], event => {
this.art.isFocus = event.path.indexOf($player) > -1;
});