fix: update test

This commit is contained in:
Ashley Wulber 2026-03-09 14:30:44 -04:00 committed by Ashley Wulber
parent 1eb6403575
commit ab538615da

View file

@ -55,7 +55,7 @@ impl<Internal, Message: std::clone::Clone + 'static, Lower: Decorations<Internal
widget::column() widget::column()
.push(canvas(Circle { .push(canvas(Circle {
radius: (self.height as f32 / 2.) * 0.8, radius: (self.height as f32 / 2.) * 0.8,
color: Color::new(1.0, 0.0, 0.0, 1.0), color: Color::from_rgba(1.0, 0.0, 0.0, 1.0),
})) }))
.width(self.height as f32), .width(self.height as f32),
) )