feat: allocate weighted flex space and remeasure affected occurrences
Verify Tessera GUI / verify (push) Failing after 7m59s

This commit is contained in:
2026-10-22 22:01:28 +08:00
parent 0c1cc12b6b
commit 78fb66277d
12 changed files with 202 additions and 18 deletions
+3 -1
View File
@@ -60,6 +60,7 @@ pub const QUERY_NAMES: &[&str] = &[
#[derive(Debug, Clone, PartialEq)]
pub struct UiNode {
pub flex: f32,
pub main_align: crate::layout::MainAlign,
pub block_id: String,
pub protocol_key: String,
@@ -80,7 +81,8 @@ impl UiNode {
}
pub fn shallow_eq(&self, other: &Self) -> bool {
if self.main_align != other.main_align
if self.flex != other.flex
|| self.main_align != other.main_align
|| self.block_id != other.block_id
|| self.protocol_key != other.protocol_key
|| self.slots != other.slots