From b9b0c5387215fcdd2af4dd8c09f51e882f62f275 Mon Sep 17 00:00:00 2001 From: Slendi Date: Sat, 28 Mar 2026 18:36:10 +0200 Subject: [PATCH] flip colros Signed-off-by: Slendi --- src/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index 50e7ee2..d6f5fc9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -5,7 +5,7 @@ use std::{ time::Duration, }; -use anyhow::{anyhow, Result}; +use anyhow::{Result, anyhow}; use midly::Smf; use raylib::prelude::*; use serialport::SerialPortType; @@ -246,7 +246,7 @@ impl SingerApp { } fn draw(&mut self, draw: &mut RaylibDrawHandle<'_>) { - draw.clear_background(Color::WHITE); + draw.clear_background(Color::BLACK); draw.draw_line_ex( Vector2::new(40.0, 40.0), Vector2::new(100.0, 200.0), @@ -266,7 +266,7 @@ impl SingerApp { Some(name) => format!("Serial connected: {name}"), None => "Serial disconnected".to_string(), }; - draw.draw_text(&status_text, 44, 14, 22, Color::BLACK); + draw.draw_text(&status_text, 44, 14, 22, Color::WHITE); } }