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() {
|
let render_active_child = if let Some(focused_id) = focused.as_ref() {
|
||||||
!has_potential_groups
|
!has_potential_groups
|
||||||
&& tree
|
&& node
|
||||||
.children_ids(&node_id)
|
.children()
|
||||||
.unwrap()
|
.iter()
|
||||||
.any(|child_id| child_id == focused_id)
|
.any(|child_id| child_id == focused_id)
|
||||||
} else {
|
} else {
|
||||||
false
|
false
|
||||||
|
|
@ -1835,7 +1835,7 @@ where
|
||||||
geo,
|
geo,
|
||||||
4,
|
4,
|
||||||
if render_active_child { 16 } else { 8 },
|
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,
|
GROUP_COLOR,
|
||||||
)
|
)
|
||||||
.into(),
|
.into(),
|
||||||
|
|
@ -1900,7 +1900,7 @@ where
|
||||||
geo,
|
geo,
|
||||||
4,
|
4,
|
||||||
8,
|
8,
|
||||||
alpha * if render_potential_group { 0.4 } else { 1.0 },
|
alpha * if render_potential_group { 0.40 } else { 1.0 },
|
||||||
GROUP_COLOR,
|
GROUP_COLOR,
|
||||||
)
|
)
|
||||||
.into(),
|
.into(),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue