gpui-component/crates
Jason Lee de42cc46a7
panel: Update Panel toolbar_buttons method to use ViewContext<Self>. (#536)
## Break changes

The `toolbar_buttons` trait method in Panel has been changed:

```diff
- fn toolbar_buttons(&self, cx: &WindowContext) -> Vec<Button>
+ fn toolbar_buttons(&self, cx: &mut ViewContext<Self>) -> Option<Vec<Button>>
```
2025-01-09 16:49:35 +08:00
..
story panel: Update Panel toolbar_buttons method to use ViewContext<Self>. (#536) 2025-01-09 16:49:35 +08:00
ui panel: Update Panel toolbar_buttons method to use ViewContext<Self>. (#536) 2025-01-09 16:49:35 +08:00