pull toggle button into its own file

This commit is contained in:
Kay Simmons 2023-02-17 18:32:04 -08:00
parent ac3e8f61ef
commit dc6f7fd577
3 changed files with 123 additions and 112 deletions

View file

@ -1432,7 +1432,7 @@ impl View for Pane {
enum TabBarEventHandler {}
stack.add_child(
MouseEventHandler::<TabBarEventHandler>::new(0, cx, |_, _| {
Flex::row()
Empty::new()
.contained()
.with_style(theme.workspace.tab_bar.container)
.boxed()