mirror of
https://github.com/storytold/designcraft.git
synced 2026-11-01 06:06: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
dd0b891ef0
commit
f4e12a5b50
@@ -3588,7 +3588,7 @@ fn a_new_character_style_starts_from_the_selected_text() {
|
||||
assert!(d.b("apply"));
|
||||
let mut h = Harness::builder().with_size(egui::vec2(1000.0, 700.0)).build_ui_state(
|
||||
|ui, app: &mut DesignApp| {
|
||||
let key = egui::Id::new("new_character_style_test_fonts");
|
||||
let key = egui::Id::unique("new_character_style_test_fonts");
|
||||
if ui.data(|d| d.get_temp::<bool>(key)).is_none() {
|
||||
crate::theme::install_fonts(ui.ctx(), "");
|
||||
ui.data_mut(|d| d.insert_temp(key, true));
|
||||
|
||||
Reference in New Issue
Block a user