fix(color picker): apply update before updating text
This commit is contained in:
parent
40847d3bf7
commit
0d685ba2de
1 changed files with 1 additions and 1 deletions
|
|
@ -151,8 +151,8 @@ impl ColorPickerModel {
|
|||
self.active = false;
|
||||
}
|
||||
ColorPickerUpdate::ActivateSegmented(e) => {
|
||||
self.input_color = color_to_string(self.active_color, self.is_hex());
|
||||
self.segmented_model.activate(e);
|
||||
self.input_color = color_to_string(self.active_color, self.is_hex());
|
||||
self.copied_at = None;
|
||||
}
|
||||
ColorPickerUpdate::Copied(t) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue