remove context generic

This commit is contained in:
iris committed 2025-08-25 18:53:21 -04:00
1 parent d4b1a56467
commit e8b255c8f9
17 files changed
+167 -217

No files matched your search

+2 -2
View File
@@ -20,8 +20,8 @@ impl Text {
}
}
impl<Ctx> Widget<Ctx> for Text {
fn draw(&self, painter: &mut Painter<Ctx>) {
impl Widget for Text {
fn draw(&self, painter: &mut Painter) {
// TODO: when on_update is added to painter,
// return & store TextureHandle to reuse
painter.draw_text(&self.content, &self.attrs);