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 {
73
73
}
74
74
75
75
const toggleComboKeysMap = {
76
- control : process . platform === 'win32 ' ? 'Ctrl (^)' : 'Control (^)' ,
76
+ control : process . platform === 'darwin ' ? 'Control (^)' : 'Ctrl (^)' ,
77
77
meta : 'Command(⌘)' ,
78
78
shift : 'Shift(⇧)' ,
79
79
}
@@ -90,7 +90,7 @@ export function normalizeComboKeyPrint(toggleComboKey: string) {
90
90
export const DEFAULT_INSPECTOR_OPTIONS : VitePluginInspectorOptions = {
91
91
vue : 3 ,
92
92
enabled : false ,
93
- toggleComboKey : process . platform === 'win32 ' ? 'control -shift' : 'meta -shift' ,
93
+ toggleComboKey : process . platform === 'darwin ' ? 'meta -shift' : 'control -shift' ,
94
94
toggleButtonVisibility : 'active' ,
95
95
toggleButtonPos : 'top-right' ,
96
96
appendTo : '' ,
You can’t perform that action at this time.
0 commit comments