mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-03 06:31:42 +01:00
fix: align Frame tool tooltip wording
This commit is contained in:
1 parent
ee267391a4
commit
568d045193
1 file changed
+5
-5
@@ -801,11 +801,11 @@ pub fn options_bar(app: &mut PhotocraftApp, ui: &mut egui::Ui, tool: Tool) -> bo
|
||||
}
|
||||
// An icon entry's label is its tooltip and accessible name.
|
||||
let entries: Vec<Entry<String>> = [
|
||||
("square", "rectangle", tl!("Create a new rectangular frame")),
|
||||
("circle", "ellipse", tl!("Create a new elliptical frame")),
|
||||
("triangle", "triangle", tl!("Create a new triangular frame")),
|
||||
("pentagon", "polygon", tl!("Create a new polygonal frame")),
|
||||
("shapes", "custom", tl!("Create a new custom frame")),
|
||||
("square", "rectangle", tl!("Use the mouse to create a new rectangular Frame")),
|
||||
("circle", "ellipse", tl!("Use the mouse to create a new elliptical Frame")),
|
||||
("triangle", "triangle", tl!("Use the mouse to create a new triangular Frame")),
|
||||
("pentagon", "polygon", tl!("Use the mouse to create a new polygonal Frame")),
|
||||
("shapes", "custom", tl!("Use the mouse to create a new custom Frame")),
|
||||
]
|
||||
.into_iter()
|
||||
.map(|(icon, shape, label)| Entry::new(shape.to_string(), label).icon(IconId::new(icon)))
|
||||
|
||||
Reference in new issue
Block a user