i18n: a group's translated effect name also draws when it isn't being renamed (#1199 with #1075)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Brandon Thomas 2026-10-13 04:35:32 -04:00
parent acb77a8c85
commit 1b4ea03fd2
1 changed files with 1 additions and 1 deletions

View File

@ -2444,7 +2444,7 @@ pub fn show(app: &mut EffectcraftApp, ui: &mut egui::Ui, rect: Rect) {
ctx.data_mut(|d| d.insert_temp(group_rename_id(), (layer.id.0, *uid, buf))); ctx.data_mut(|d| d.insert_temp(group_rename_id(), (layer.id.0, *uid, buf)));
} }
} else { } else {
lp.text(pos2(indent + 10.0, cy), Align2::LEFT_CENTER, name, Tokens::ui(12.0), t.text); lp.text(pos2(indent + 10.0, cy), Align2::LEFT_CENTER, &shown, Tokens::ui(12.0), t.text);
} }
text_anim_popups(app, ui, &lp, layer, *uid, cw.switches, cy, &mut actions); text_anim_popups(app, ui, &lp, layer, *uid, cw.switches, cy, &mut actions);
shape_add_popup(app, ui, &lp, layer, *uid, cw.switches, cy, &mut actions); shape_add_popup(app, ui, &lp, layer, *uid, cw.switches, cy, &mut actions);