layout: make strips the titlebar with window controls

This commit is contained in:
2026-11-02 19:04:13 +07:00
parent f295b25366
commit a6014b4ff3
13 changed files with 603 additions and 62 deletions
+4 -1
View File
@@ -17,7 +17,7 @@ gpui = { workspace = true, features = ["test-support"] }
[features]
default = ["full"]
full = ["dock", "resize_handle", "shell"]
full = ["dock", "resize_handle", "shell", "window_controls"]
dock = [
"resize_handle",
"dep:gpui-native-core",
@@ -25,11 +25,14 @@ dock = [
"dep:gpui-native-icons",
"gpui-native-core/context_menu",
"gpui-native-data/tabs",
"window_controls",
]
resize_handle = []
shell = [
"resize_handle",
"window_controls",
"dep:gpui-native-core",
"dep:gpui-native-data",
"dep:gpui-native-icons",
]
window_controls = ["dep:gpui-native-icons"]