mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-15 14:18:04 +08:00
Specify label instead of value
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user