Skip to content

Commit a0cad67

Browse files
committed
apply coderabbit suggestions
1 parent bf62ec6 commit a0cad67

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

frontend/types/gotypes.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -736,7 +736,7 @@ declare global {
736736
"window:tilegapsize"?: number;
737737
"window:showmenubar"?: boolean;
738738
"window:nativetitlebar"?: boolean;
739-
"window:tabbarposition"?: string;
739+
"window:tabbarposition"?: "top" | "bottom";
740740
"window:disablehardwareacceleration"?: boolean;
741741
"window:maxtabcachesize"?: number;
742742
"window:magnifiedblockopacity"?: number;

schema/settings.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,9 @@
183183
"type": "boolean"
184184
},
185185
"window:tabbarposition": {
186-
"type": "string"
186+
"type": {
187+
"enum": ["top", "bottom"]
188+
}
187189
},
188190
"window:disablehardwareacceleration": {
189191
"type": "boolean"

0 commit comments

Comments
 (0)