浏览代码

Мелкая доработка

Book Pauk 5 年之前
父节点
当前提交
dc2b2ec488
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      client/share/utils.js

+ 1 - 1
client/share/utils.js

@@ -207,7 +207,7 @@ export function escapeXml(str) {
 export function keyEventToCode(event) {
     let result = [];
     const modCode = event.code.substring(0, 3);
-    if (event.metaKey)
+    if (event.metaKey && modCode != 'Met')
         result.push('Meta');
     if (event.ctrlKey && modCode != 'Con')
         result.push('Ctrl');