widget view

This commit is contained in:
2026-01-05 17:01:09 -05:00
parent 07de7c8722
commit d11107f965
7 changed files with 130 additions and 15 deletions

View File

@@ -18,7 +18,7 @@ impl DefaultAppState for State {
ctx.task.update(move |_, rsc| {
let rect = rect(rsc);
if rect.color == Color::RED {
rect.color = Color::GREEN;
rect.color = Color::BLUE;
} else {
rect.color = Color::RED;
}