File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ export interface VitePluginInspectorOptions {
7373}
7474
7575const toggleComboKeysMap = {
76- control : process . platform === 'win32 ' ? 'Ctrl (^)' : 'Control (^)' ,
76+ control : process . platform === 'darwin ' ? 'Control (^)' : 'Ctrl (^)' ,
7777 meta : 'Command(⌘)' ,
7878 shift : 'Shift(⇧)' ,
7979}
@@ -90,7 +90,7 @@ export function normalizeComboKeyPrint(toggleComboKey: string) {
9090export const DEFAULT_INSPECTOR_OPTIONS : VitePluginInspectorOptions = {
9191 vue : 3 ,
9292 enabled : false ,
93- toggleComboKey : process . platform === 'win32 ' ? 'control -shift' : 'meta -shift' ,
93+ toggleComboKey : process . platform === 'darwin ' ? 'meta -shift' : 'control -shift' ,
9494 toggleButtonVisibility : 'active' ,
9595 toggleButtonPos : 'top-right' ,
9696 appendTo : '' ,
You can’t perform that action at this time.
0 commit comments