refactor(color_picker): make color_button public

This commit is contained in:
Ashley Wulber 2023-10-12 13:31:57 -04:00
parent 242ece1749
commit b1cb008d94
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820

View file

@ -745,7 +745,7 @@ fn color_to_string(c: palette::Hsv, is_hex: bool) -> String {
}
}
fn color_button<'a, Message: 'static>(
pub fn color_button<'a, Message: 'static>(
on_press: Option<Message>,
color: Option<Color>,
icon_portion: Length,