feat: add system widgets and a persistent native Console with bare assignments
Verify Tessera GUI / verify (push) Failing after 7m17s

This commit is contained in:
2026-10-20 18:36:48 +08:00
parent 1d4b1d3c86
commit 53e8d7b287
15 changed files with 1549 additions and 245 deletions
+8
View File
@@ -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