fixed sun-position being flipped
This commit is contained in:
parent
4dbcfdc7ef
commit
80fb98c7ac
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ pub fn run_calendar(args: &CliArgs) {
|
||||||
"#d3d3d3"
|
"#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());
|
// println!("{}", serde_json::to_string(&output_state).unwrap());
|
||||||
|
|
Loading…
Reference in a new issue