refactor(color_picker): make color_button public
This commit is contained in:
parent
242ece1749
commit
b1cb008d94
1 changed files with 1 additions and 1 deletions
|
|
@ -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>,
|
on_press: Option<Message>,
|
||||||
color: Option<Color>,
|
color: Option<Color>,
|
||||||
icon_portion: Length,
|
icon_portion: Length,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue