Browse Source

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

Book Pauk 5 năm trước cách đây
mục cha
commit
dc2b2ec488
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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');