remove context generic
This commit is contained in:
@@ -4,8 +4,8 @@ pub struct Stack {
|
||||
pub children: Vec<WidgetId>,
|
||||
}
|
||||
|
||||
impl<Ctx> Widget<Ctx> for Stack {
|
||||
fn draw(&self, painter: &mut Painter<Ctx>) {
|
||||
impl Widget for Stack {
|
||||
fn draw(&self, painter: &mut Painter) {
|
||||
for child in &self.children {
|
||||
painter.draw(child);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user