This commit is contained in:
iris committed 2025-08-25 14:21:25 -04:00
1 parent 9e751d4161
commit 41103f2732
2 files changed
+3

No files matched your search

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