refactor: use theme corner_radii

This commit is contained in:
Ashley Wulber 2023-12-13 13:41:39 -05:00 committed by Ashley Wulber
parent feb8075d2c
commit 3de4b99e66
6 changed files with 99 additions and 86 deletions

View file

@ -928,7 +928,12 @@ pub fn settings() -> Section<crate::pages::Message> {
// Displays color options, and hides the slideshow toggle
Choice::Color(ref color) => {
show_slideshow_toggle = false;
widgets::color_image(color.clone(), SIMULATED_WIDTH, SIMULATED_HEIGHT, 0.0)
widgets::color_image(
color.clone(),
SIMULATED_WIDTH,
SIMULATED_HEIGHT,
Some(0.0),
)
}
},
));