gpui-component/crates
Jason Lee 1a4ee348f8
dock: Add visible method to Panel trait to control panel visible. (#503)
Closes #502 #499 

## Added

- Add `visible` method to `Panel` trait, if return false this panel will
disappear.

## Break changes

- Renamed `closeable` to `closable`.
- The `title_style`, `closable`, `zoomable` in `Panel` trait have been
change `cx: &WindowContext` to `cx: &AppContext`.
2024-12-20 10:21:21 +08:00
..
story dock: Add visible method to Panel trait to control panel visible. (#503) 2024-12-20 10:21:21 +08:00
ui dock: Add visible method to Panel trait to control panel visible. (#503) 2024-12-20 10:21:21 +08:00