layout: replace sidebar toggle slots with tab prefix and suffix
This commit is contained in:
@@ -288,8 +288,7 @@ impl Gallery {
|
||||
let center = Dock::new("gallery-dock", self.dock_state.clone())
|
||||
// The pill bar is the titlebar strip whenever no right sidebar sits to its right.
|
||||
.window_controls(!self.layout_state.read(cx).is_right_sidebar_visible())
|
||||
.traffic_light_pad(!self.layout_state.read(cx).is_left_sidebar_visible())
|
||||
.sidebar_toggles(self.layout_state.clone());
|
||||
.traffic_light_pad(!self.layout_state.read(cx).is_left_sidebar_visible());
|
||||
|
||||
let right_sidebar = DockSidebar::new("gallery-dock-sidebar", self.dock_state.clone());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user