chore: update gpui components

This commit is contained in:
2025-06-17 14:50:46 +07:00
parent 052b0163cb
commit 5f5bb33654
3 changed files with 58 additions and 35 deletions

View File

@@ -1051,10 +1051,12 @@ impl Render for TabPanel {
}
v_flex()
.when(!self.is_collapsed, |this| {
this.on_action(cx.listener(Self::on_action_toggle_zoom))
.on_action(cx.listener(Self::on_action_close_panel))
})
.id("tab-panel")
.track_focus(&focus_handle)
.on_action(cx.listener(Self::on_action_toggle_zoom))
.on_action(cx.listener(Self::on_action_close_panel))
.size_full()
.overflow_hidden()
.child(self.render_title_bar(&state, window, cx))