Extract tab bar from workspace

This commit is contained in:
K Simmons
2022-07-26 10:41:02 -07:00
parent f963c0ed45
commit 2bd0819ac8
2 changed files with 18 additions and 22 deletions
+3 -2
View File
@@ -75,12 +75,13 @@ pub struct TabBar {
pub pane_button: Interactive<IconButton>,
pub active_pane: TabStyles,
pub inactive_pane: TabStyles,
pub height: f32,
}
#[derive(Clone, Deserialize, Default)]
pub struct TabStyles {
active_tab: Tab,
inactive_tab: Tab,
pub active_tab: Tab,
pub inactive_tab: Tab,
}
#[derive(Clone, Deserialize, Default)]