This commit is contained in:
Nathan Sobo 2023-11-18 20:22:43 -07:00
parent adc355a1e6
commit 0673606de8
11 changed files with 39 additions and 35 deletions

View file

@ -1,8 +1,8 @@
use crate::{status_bar::StatusItemView, Axis, Workspace};
use gpui::{
div, px, Action, AnchorCorner, AnyView, AppContext, Component, Div, Entity, EntityId,
EventEmitter, FocusHandle, FocusableView, ParentElement, Render, SharedString, Styled,
Subscription, View, ViewContext, VisualContext, WeakView, WindowContext,
EventEmitter, FocusHandle, FocusableView, ParentElement, Render, RenderOnce, SharedString,
Styled, Subscription, View, ViewContext, VisualContext, WeakView, WindowContext,
};
use schemars::JsonSchema;
use serde::{Deserialize, Serialize};
@ -426,7 +426,7 @@ impl Dock {
}
}
impl Render for Dock {
impl Render<Self> for Dock {
type Element = Div<Self>;
fn render(&mut self, cx: &mut ViewContext<Self>) -> Self::Element {
@ -612,7 +612,7 @@ impl PanelButtons {
// }
// here be kittens
impl Render for PanelButtons {
impl Render<Self> for PanelButtons {
type Element = Div<Self>;
fn render(&mut self, cx: &mut ViewContext<Self>) -> Self::Element {
@ -706,7 +706,7 @@ pub mod test {
}
}
impl Render for TestPanel {
impl Render<Self> for TestPanel {
type Element = Div<Self>;
fn render(&mut self, _cx: &mut ViewContext<Self>) -> Self::Element {