mirror of
https://github.com/storytold/designcraft.git
synced 2026-11-01 14:16:49 -06:00
egui 0.37: the renamed APIs in this branch's code
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
0ee77cfd6f
commit
5f96d2b3ff
@@ -533,7 +533,7 @@ pub fn show(app: &mut DesignApp, ui: &mut egui::Ui) {
|
||||
ui.painter().rect_filled(br, 0.0, BADGE);
|
||||
}
|
||||
ui.painter().galley(c - g.size() / 2.0, g, ink);
|
||||
let lr = ui.interact(br, ui.id().with(("spread_label", si)), Sense::click());
|
||||
let lr = ui.interact(br, ui.scope_id().with(("spread_label", si)), Sense::click());
|
||||
// A click goes to the spread, so assistive technology hears a button.
|
||||
lr.widget_info(|| egui::WidgetInfo::labeled(egui::WidgetType::Button, true, &label));
|
||||
if lr.clicked() {
|
||||
|
||||
Reference in New Issue
Block a user