Invert scroll direction

This commit is contained in:
Kenny Levinsen
2019-08-02 10:58:34 +02:00
parent 734a7bf04a
commit bc16514f05
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -136,7 +136,7 @@ impl ModuleImpl for Backlight {
x: _x,
y,
} => {
self.add((y * -1.0) as f32 / 8.0).unwrap();
self.add(y as f32 / 8.0).unwrap();
self.sync().unwrap();
}
Input::Click { pos: _pos, button } => {
+1 -1
View File
@@ -498,7 +498,7 @@ impl ModuleImpl for Arc<Mutex<PulseAudio>> {
.device
.lock()
.unwrap()
.set_volume((y * -1.0) as f32 / 8.0)
.set_volume(y as f32 / 8.0)
.unwrap();
s.dirty = true;