mirror of
https://github.com/storytold/deckcraft.git
synced 2026-10-30 21:47:00 -06:00
Slide show test: clear the textures of the lone presenter frame
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
5191af8ebb
commit
bcbdb76bfd
@@ -1006,7 +1006,7 @@ fn the_presenter_next_preview_arrives_without_blocking_the_frame() {
|
||||
let mut show = Show::new(&doc, 0, false, true);
|
||||
let mut keep = true;
|
||||
let ctx = egui::Context::default();
|
||||
let _ = ctx.run_ui(egui::RawInput::default(), |ui| presenter_window(ui.ctx(), &mut show, &doc, 0.0, &mut keep));
|
||||
ctx.run_ui(egui::RawInput::default(), |ui| presenter_window(ui.ctx(), &mut show, &doc, 0.0, &mut keep)).textures_delta.clear();
|
||||
assert!(show.next_job.is_some() && show.next_tex.is_none(), "the first frame leaves the preview pending");
|
||||
assert_eq!(show.preview_spawns, 1);
|
||||
let mut harness = egui_kittest::Harness::builder().with_size(vec2(1100.0, 700.0)).build_ui_state(
|
||||
|
||||
Reference in New Issue
Block a user