mirror of
https://github.com/storytold/designcraft.git
synced 2026-11-12 05:12:39 +00:00
Find/Change: the Search label's name apart from the branch's scope_name closure
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
9f591ab6fa
commit
620f83d44a
1 file changed
+2
-2
@@ -2491,7 +2491,7 @@ pub fn show(app: &mut DesignApp, ctx: &egui::Context) {
|
||||
});
|
||||
text_field_named(ui, &mut d, "change", 260.0, crate::i18n::tr(&app.ui.language, "Change to:"));
|
||||
ui.end_row();
|
||||
let scope_name = crate::rtl::label(ui, crate::i18n::tr(&app.ui.language, "Search:"));
|
||||
let search_label = crate::rtl::label(ui, crate::i18n::tr(&app.ui.language, "Search:"));
|
||||
let cur = d.s("scope");
|
||||
// InDesign's names for the scopes.
|
||||
let scope_name = |v: &str| match v {
|
||||
@@ -2513,7 +2513,7 @@ pub fn show(app: &mut DesignApp, ctx: &egui::Context) {
|
||||
}
|
||||
})
|
||||
.response
|
||||
.labelled_by(scope_name.id);
|
||||
.labelled_by(search_label.id);
|
||||
ui.end_row();
|
||||
});
|
||||
ui.horizontal(|ui| {
|
||||
|
||||
Reference in new issue
Block a user