mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-04 20:17:09 +00:00
fix(ioscompanion): treat unresolved bridge values as transitional, never as content
This commit is contained in:
1 parent
a15e7a14f9
commit
8526c491e8
2 files changed
+11
No files matched your search
@@ -594,6 +594,12 @@ func (d *Driver) WaitForIdle(ctx context.Context, _ time.Duration) error {
|
||||
if err != nil {
|
||||
return nil
|
||||
}
|
||||
// Unresolved bridge values mean the tree is mid-update; report the
|
||||
// snapshot transitional so the streak resets instead of declaring a
|
||||
// half-readable screen stable.
|
||||
if hasUnresolvedValues(dump) {
|
||||
return nil
|
||||
}
|
||||
mapped, err := MapHierarchy(dump, d.screenWidth, d.screenHeight)
|
||||
if err != nil {
|
||||
return nil
|
||||
|
||||
Reference in new issue
Block a user