Skip to content

Commit

Permalink
GUI: added a small comment
Browse files Browse the repository at this point in the history
  • Loading branch information
gpoulios committed Mar 19, 2023
1 parent c31604f commit 75f41ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gui/src/gui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -550,6 +550,7 @@ impl DeathAdderv2App {
self.with_device(|dav2| dav2.set_scroll_brightness(brightness as u8));
}

/// Does not update the config
fn set_scroll_brightness(&self, brightness: usize) {
self.txt_scrollbright.set_text(&brightness.to_string());
self.bar_scrollbright.set_pos(brightness);
Expand Down

0 comments on commit 75f41ed

Please sign in to comment.