sized widgets!

This commit is contained in:
iris committed 2025-08-28 01:35:43 -04:00
1 parent d4d0b3b580
commit 834182ffe8
14 files changed
+313 -106

No files matched your search

+1 -1
View File
@@ -28,7 +28,7 @@ impl Rect {
}
impl Widget for Rect {
fn draw(&self, painter: &mut Painter) {
fn draw(&mut self, painter: &mut Painter) {
painter.write(RectPrimitive {
color: self.color,
radius: self.radius,