Specify label instead of value
This commit is contained in:
parent
379931a504
commit
2f44b156d1
|
|
@ -1408,8 +1408,8 @@ impl DocumentMessageHandler {
|
|||
modes
|
||||
.iter()
|
||||
.map(|&blend_mode| {
|
||||
MenuListEntry::new(blend_mode.to_string())
|
||||
.value(blend_mode.to_string())
|
||||
MenuListEntry::new(format!("{blend_mode:?}"))
|
||||
.label(blend_mode.to_string())
|
||||
.on_update(move |_| DocumentMessage::SetBlendModeForSelectedLayers { blend_mode }.into())
|
||||
})
|
||||
.collect()
|
||||
|
|
|
|||
Loading…
Reference in New Issue