Explorar el Código

支持 ⌘ Command

visuddhinanda hace 3 años
padre
commit
6e025bcae1
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      dashboard/src/components/template/Wbw/WbwMeaning.tsx

+ 1 - 1
dashboard/src/components/template/Wbw/WbwMeaning.tsx

@@ -84,7 +84,7 @@ const WbwMeaningWidget = ({
   ) : (
     <span
       onClick={(event: React.MouseEvent<HTMLSpanElement, MouseEvent>) => {
-        if (event.ctrlKey) {
+        if (event.ctrlKey || event.metaKey) {
           setEditable(true);
         }
       }}