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:
@@ -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`].
|
||||
|
||||
Reference in New Issue
Block a user