From 80fb98c7ac24a8a0ce5543fe2d90a7b1e4000dc8 Mon Sep 17 00:00:00 2001 From: Nickiel12 Date: Sat, 11 Nov 2023 13:07:00 -0800 Subject: [PATCH] fixed sun-position being flipped --- ewwtilities/src/calendar_background.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ewwtilities/src/calendar_background.rs b/ewwtilities/src/calendar_background.rs index a4f4e77..38d0fd0 100644 --- a/ewwtilities/src/calendar_background.rs +++ b/ewwtilities/src/calendar_background.rs @@ -152,7 +152,7 @@ pub fn run_calendar(args: &CliArgs) { "#d3d3d3" }; - println!("linear-gradient({}deg, {}, rgba(26, 26, 26, 0.0) 30%)", (output_state.gradient_angle_percentage * 180.0 - 90.0) as i32, gradient_color); + println!("linear-gradient({}deg, {}, rgba(26, 26, 26, 0.0) 30%)", (output_state.gradient_angle_percentage * 180.0 + 90.0) as i32, gradient_color); } // println!("{}", serde_json::to_string(&output_state).unwrap());