mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-10-03 02:38:12 +08:00
Specify label instead of value
This commit is contained in:
@@ -1408,8 +1408,8 @@ impl DocumentMessageHandler {
|
|||||||
modes
|
modes
|
||||||
.iter()
|
.iter()
|
||||||
.map(|&blend_mode| {
|
.map(|&blend_mode| {
|
||||||
MenuListEntry::new(blend_mode.to_string())
|
MenuListEntry::new(format!("{blend_mode:?}"))
|
||||||
.value(blend_mode.to_string())
|
.label(blend_mode.to_string())
|
||||||
.on_update(move |_| DocumentMessage::SetBlendModeForSelectedLayers { blend_mode }.into())
|
.on_update(move |_| DocumentMessage::SetBlendModeForSelectedLayers { blend_mode }.into())
|
||||||
})
|
})
|
||||||
.collect()
|
.collect()
|
||||||
|
|||||||
Reference in New Issue
Block a user