Skip to content

Commit 7704ce9

Browse files
committed
Don't show button outline when button isn't pressed
Increase the contrast of the icons/text on the button by having it be white on black background instead of white on gray background. This will be helpful when we introduce pixel shifting in the next few commits, as now the off-centering of icons is going to be harder to notice.
1 parent 5db7e0c commit 7704ce9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ use display::DrmBackend;
3636

3737
const DFR_WIDTH: i32 = 2008;
3838
const DFR_HEIGHT: i32 = 64;
39-
const BUTTON_COLOR_INACTIVE: f64 = 0.200;
39+
const BUTTON_COLOR_INACTIVE: f64 = 0.0;
4040
const BUTTON_COLOR_ACTIVE: f64 = 0.400;
4141
const TIMEOUT_MS: i32 = 30 * 1000;
4242

0 commit comments

Comments
 (0)