tiling: Never render pill indicators in keyboard mode
This commit is contained in:
parent
86c3e00dfd
commit
bd276a2f23
1 changed files with 113 additions and 105 deletions
|
|
@ -3127,6 +3127,7 @@ where
|
|||
|
||||
geometries.insert(node_id.clone(), geo);
|
||||
|
||||
if mouse_tiling.is_some() {
|
||||
if let Some(PillIndicator::Outer(direction)) = pill_indicator {
|
||||
let (pill_geo, remaining_geo) = match direction {
|
||||
Direction::Left => (
|
||||
|
|
@ -3187,6 +3188,7 @@ where
|
|||
|
||||
geo = remaining_geo;
|
||||
};
|
||||
}
|
||||
|
||||
if !is_placeholder_group {
|
||||
geo.loc += (outer_gap, outer_gap).into();
|
||||
|
|
@ -3223,7 +3225,9 @@ where
|
|||
(geo.loc.x, geo.loc.y + previous),
|
||||
(geo.size.w, *size),
|
||||
);
|
||||
if let Some(PillIndicator::Inner(pill_idx)) = pill_indicator {
|
||||
if mouse_tiling.is_some() {
|
||||
if let Some(PillIndicator::Inner(pill_idx)) = pill_indicator
|
||||
{
|
||||
if *pill_idx == idx {
|
||||
geo.size.h -= 16;
|
||||
}
|
||||
|
|
@ -3252,6 +3256,7 @@ where
|
|||
geo.size.h -= 16;
|
||||
}
|
||||
}
|
||||
}
|
||||
stack.push(geo);
|
||||
}
|
||||
}
|
||||
|
|
@ -3263,7 +3268,9 @@ where
|
|||
(geo.loc.x + previous, geo.loc.y),
|
||||
(*size, geo.size.h),
|
||||
);
|
||||
if let Some(PillIndicator::Inner(pill_idx)) = pill_indicator {
|
||||
if mouse_tiling.is_some() {
|
||||
if let Some(PillIndicator::Inner(pill_idx)) = pill_indicator
|
||||
{
|
||||
if *pill_idx == idx {
|
||||
geo.size.w -= 16;
|
||||
}
|
||||
|
|
@ -3292,6 +3299,7 @@ where
|
|||
geo.size.w -= 16;
|
||||
}
|
||||
}
|
||||
}
|
||||
stack.push(geo);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue