feat: add system widgets and a persistent native Console with bare assignments
Verify Tessera GUI / verify (push) Failing after 7m17s
Verify Tessera GUI / verify (push) Failing after 7m17s
This commit is contained in:
@@ -298,6 +298,14 @@ pub struct UiBridge {
|
||||
}
|
||||
|
||||
impl UiBridge {
|
||||
/// Drain this input's render request; retained UI objects remain in the session pool.
|
||||
pub fn take_rendered(&self) -> Result<Option<Arc<UiNode>>> {
|
||||
let mut session = self
|
||||
.session
|
||||
.lock()
|
||||
.map_err(|_| anyhow::anyhow!("UI build session is poisoned"))?;
|
||||
Ok(session.rendered.take().map(|(_, root)| root))
|
||||
}
|
||||
pub fn rendered(&self) -> Result<Option<Arc<UiNode>>> {
|
||||
let session = self
|
||||
.session
|
||||
|
||||
Reference in New Issue
Block a user