Move navigation buttons to the tab bar.

Co-authored-by: Kyle <kyle@zed.dev>
This commit is contained in:
Piotr Osiewicz
2023-08-03 16:05:24 +02:00
co-authored by Kyle
parent b4f6d6eadc
commit 7d83d15bf3
4 changed files with 126 additions and 69 deletions
+1 -1
View File
@@ -295,6 +295,7 @@ pub struct TabBar {
pub inactive_pane: TabStyles,
pub dragged_tab: Tab,
pub height: f32,
pub nav_button: Interactive<IconButton>,
}
impl TabBar {
@@ -359,7 +360,6 @@ pub struct Toolbar {
pub container: ContainerStyle,
pub height: f32,
pub item_spacing: f32,
pub nav_button: Interactive<IconButton>,
}
#[derive(Clone, Deserialize, Default, JsonSchema)]