From 72698f1dd7e2de7dbda843708ece6a3dba66f94f Mon Sep 17 00:00:00 2001 From: Twan Stok Date: Mon, 3 Apr 2023 18:42:12 +0200 Subject: [PATCH] made FIFTH_COLOUR constant windows-only --- src/canvas/canvas_styling/colour_utils.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/canvas/canvas_styling/colour_utils.rs b/src/canvas/canvas_styling/colour_utils.rs index 31ca93f4..10416c53 100644 --- a/src/canvas/canvas_styling/colour_utils.rs +++ b/src/canvas/canvas_styling/colour_utils.rs @@ -9,6 +9,7 @@ pub const FIRST_COLOUR: Color = Color::LightMagenta; pub const SECOND_COLOUR: Color = Color::LightYellow; pub const THIRD_COLOUR: Color = Color::LightCyan; pub const FOURTH_COLOUR: Color = Color::LightGreen; +#[cfg(not(target_os = "windows"))] pub const FIFTH_COLOUR: Color = Color::LightRed; pub const HIGHLIGHT_COLOUR: Color = Color::LightBlue; pub const AVG_COLOUR: Color = Color::Red;