I forgot why I did it the other way lol (revert)

This commit is contained in:
iris committed 2025-08-23 15:39:43 -04:00
1 parent 2ffb09bef0
commit abcbc267b5
7 files changed
+16 -14

No files matched your search

+1 -1
View File
@@ -6,7 +6,7 @@ pub struct Span {
}
impl<Ctx: 'static> Widget<Ctx> for Span {
fn draw(&self, mut painter: Painter<Ctx>) {
fn draw(&self, painter: &mut Painter<Ctx>) {
let total = self.sums();
let mut start = UIScalar::min();
for (child, length) in &self.children {