fix: clear the color picker when it is toggled
This commit is contained in:
parent
7ea8a6103b
commit
448c777812
1 changed files with 1 additions and 0 deletions
|
|
@ -192,6 +192,7 @@ impl ColorPickerModel {
|
|||
self.save_next = Some(Color::from(srgb));
|
||||
}
|
||||
ColorPickerUpdate::ToggleColorPicker => {
|
||||
self.must_clear_cache.store(true, Ordering::SeqCst);
|
||||
self.active = !self.active;
|
||||
self.copied_at = None;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue