tiling: Fix potential group border color
This commit is contained in:
parent
90e1eab7a8
commit
8f20cf5ece
1 changed files with 5 additions and 5 deletions
|
|
@ -1819,9 +1819,9 @@ where
|
|||
} => {
|
||||
let render_active_child = if let Some(focused_id) = focused.as_ref() {
|
||||
!has_potential_groups
|
||||
&& tree
|
||||
.children_ids(&node_id)
|
||||
.unwrap()
|
||||
&& node
|
||||
.children()
|
||||
.iter()
|
||||
.any(|child_id| child_id == focused_id)
|
||||
} else {
|
||||
false
|
||||
|
|
@ -1835,7 +1835,7 @@ where
|
|||
geo,
|
||||
4,
|
||||
if render_active_child { 16 } else { 8 },
|
||||
alpha * if render_potential_group { 0.14 } else { 1.0 },
|
||||
alpha * if render_potential_group { 0.40 } else { 1.0 },
|
||||
GROUP_COLOR,
|
||||
)
|
||||
.into(),
|
||||
|
|
@ -1900,7 +1900,7 @@ where
|
|||
geo,
|
||||
4,
|
||||
8,
|
||||
alpha * if render_potential_group { 0.4 } else { 1.0 },
|
||||
alpha * if render_potential_group { 0.40 } else { 1.0 },
|
||||
GROUP_COLOR,
|
||||
)
|
||||
.into(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue