remove context generic
This commit is contained in:
1 parent
d4b1a56467
commit
e8b255c8f9
17 files changed
+167
-217
No files matched your search
+2
-2
@@ -27,8 +27,8 @@ impl Rect {
|
||||
}
|
||||
}
|
||||
|
||||
impl<Ctx> Widget<Ctx> for Rect {
|
||||
fn draw(&self, painter: &mut Painter<Ctx>) {
|
||||
impl Widget for Rect {
|
||||
fn draw(&self, painter: &mut Painter) {
|
||||
painter.write(RectPrimitive {
|
||||
color: self.color,
|
||||
radius: self.radius,
|
||||
|
||||
Reference in new issue
Block a user