WIP
This commit is contained in:
parent
40896352ff
commit
a25f962185
90 changed files with 587 additions and 501 deletions
|
@ -19,8 +19,8 @@ use crate::{
|
|||
platform,
|
||||
platform::Platform,
|
||||
util::CwdBacktrace,
|
||||
AppContext, Element, ElementBox, Entity, FontCache, Handle, Subscription, TestAppContext, View,
|
||||
ViewContext,
|
||||
AppContext, Drawable, Element, Entity, FontCache, Handle, Subscription, TestAppContext,
|
||||
View, ViewContext,
|
||||
};
|
||||
|
||||
#[cfg(test)]
|
||||
|
@ -240,7 +240,7 @@ impl View for EmptyView {
|
|||
"empty view"
|
||||
}
|
||||
|
||||
fn render(&mut self, _: &mut ViewContext<Self>) -> ElementBox<Self> {
|
||||
Element::boxed(Empty::new())
|
||||
fn render(&mut self, _: &mut ViewContext<Self>) -> Element<Self> {
|
||||
Drawable::boxed(Empty::new())
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue