Moar speed

This commit is contained in:
Kenny Levinsen
2023-02-06 18:34:07 +01:00
parent 69959e86dc
commit 6f0ca36826
18 changed files with 497 additions and 981 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ impl BarWidgetImpl for Backlight {
fn name(&self) -> &'static str {
"backlight"
}
fn value(&self) -> f32 {
fn value(&mut self) -> f32 {
if self.cur > self.max {
// what.
return 1.0;