I forgot why I did it the other way lol (revert)
This commit is contained in:
1 parent
2ffb09bef0
commit
abcbc267b5
7 files changed
+16
-14
No files matched your search
+1
-1
@@ -28,7 +28,7 @@ impl Rect {
|
||||
}
|
||||
|
||||
impl<Ctx> Widget<Ctx> for Rect {
|
||||
fn draw(&self, mut painter: Painter<Ctx>) {
|
||||
fn draw(&self, painter: &mut Painter<Ctx>) {
|
||||
painter.write(RectPrimitive {
|
||||
color: self.color,
|
||||
radius: self.radius,
|
||||
|
||||
Reference in new issue
Block a user