From a5f1565090f88b1dcb792f829453aa2d79f8da4b Mon Sep 17 00:00:00 2001 From: jugeeya Date: Thu, 31 Aug 2023 16:12:07 -0700 Subject: [PATCH] Try black color with alpha of 0 --- src/training/input_log.rs | 16 ++++++++-------- src/training/ui/input_log.rs | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/training/input_log.rs b/src/training/input_log.rs index dcf18dc..48ebcc1 100644 --- a/src/training/input_log.rs +++ b/src/training/input_log.rs @@ -15,56 +15,56 @@ const GREEN: ResColor = ResColor { r: 0, g: 255, b: 0, - a: 255, + a: 0, }; const RED: ResColor = ResColor { r: 255, g: 0, b: 0, - a: 255, + a: 0, }; const CYAN: ResColor = ResColor { r: 0, g: 255, b: 255, - a: 255, + a: 0, }; const BLUE: ResColor = ResColor { r: 0, g: 255, b: 0, - a: 255, + a: 0, }; const PURPLE: ResColor = ResColor { r: 255, g: 0, b: 255, - a: 255, + a: 0, }; pub const YELLOW: ResColor = ResColor { r: 255, g: 255, b: 0, - a: 255, + a: 0, }; pub const WHITE: ResColor = ResColor { r: 255, g: 255, b: 255, - a: 255, + a: 0, }; pub const BLACK: ResColor = ResColor { r: 0, g: 0, b: 0, - a: 255, + a: 0, }; pub static PER_LOG_FRAME_COUNTER: Lazy = diff --git a/src/training/ui/input_log.rs b/src/training/ui/input_log.rs index 711eaf9..79fcdc6 100644 --- a/src/training/ui/input_log.rs +++ b/src/training/ui/input_log.rs @@ -142,7 +142,7 @@ unsafe fn draw_log(root_pane: &Pane, log_idx: usize, log: &InputLog) { .as_picture(); icon_pane.set_visible(true); - (*icon_pane.material).set_white_res_color(*icon_color); + (*icon_pane.material).set_black_res_color(*icon_color); icon_pane.flags |= PaneFlag::IsGlobalMatrixDirty as u8; }