Sharpen up layout

This commit is contained in:
Kenny Levinsen
2019-08-07 00:10:20 +02:00
parent 37fcb7390b
commit ea2fd4b701
7 changed files with 27 additions and 27 deletions
+3 -3
View File
@@ -114,13 +114,13 @@ impl ModuleImpl for Backlight {
"backlight",
)?;
draw_bar(
&mut buf.subdimensions((128, 0, 432, 24))?,
&mut buf.subdimensions((128, 0, 464, 24))?,
&c,
432,
464,
24,
self.brightness(),
)?;
draw_box(&mut buf.subdimensions((128, 0, 432, 24))?, &c, (432, 24))?;
draw_box(&mut buf.subdimensions((128, 0, 464, 24))?, &c, (464, 24))?;
Ok(vec![buf.get_signed_bounds()])
}