We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f26b651 commit 6d151ceCopy full SHA for 6d151ce
src/main.rs
@@ -1750,6 +1750,25 @@ async fn main() {
1750
_ => {}
1751
}
1752
1753
+ match (grnd_red.parse::<u8>(), grnd_green.parse::<u8>(), grnd_blue.parse::<u8>()) {
1754
+ (Ok(grnd_red), Ok(grnd_green), Ok(grnd_blue)) => {
1755
+ draw_rectangle(
1756
+ screen_width() - 450.0,
1757
+ 80.0,
1758
+ 50.0,
1759
1760
+ Color::from_rgba(
1761
+ grnd_red,
1762
+ grnd_green,
1763
+ grnd_blue,
1764
+ 255
1765
+ )
1766
+ );
1767
+ }
1768
+
1769
+ _ => {}
1770
1771
1772
bg_red_textbox.draw(bg_red.clone(), &font);
1773
bg_green_textbox.draw(bg_green.clone(), &font);
1774
bg_blue_textbox.draw(bg_blue.clone(), &font);
0 commit comments