1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-02 06:40:06 -04:00

Add public egui_kittest::Node constructor

This commit is contained in:
Lucas Meurer
2026-07-21 11:04:56 +02:00
parent f005960bdc
commit 8fc6e1db3e
2 changed files with 16 additions and 10 deletions

View File

@@ -735,10 +735,7 @@ impl<'a, State> Harness<'a, State> {
/// The root node of the test harness.
pub fn root(&self) -> Node<'_> {
Node {
accesskit_node: self.kittest.root(),
queue: &self.queued_events,
}
Node::new(self.kittest.root(), &self.queued_events)
}
/// Spawn a real native eframe window running this harness's app, reusing its [`egui::Context`].