refactor(color-picker): allow custom size for the icon

This commit is contained in:
Ashley Wulber 2023-10-12 13:13:26 -04:00
parent 7d0ad7abc8
commit 242ece1749
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820
3 changed files with 14 additions and 13 deletions

View file

@ -520,7 +520,7 @@ impl State {
.on_input(Message::InputChanged)
.into(),
self.color_picker_model
.picker_button(Message::ColorPickerUpdate)
.picker_button(Message::ColorPickerUpdate, None)
.width(Length::Fixed(128.0))
.height(Length::Fixed(128.0))
.into(),