render: Fixed #108 active hint overlapping
This commit is contained in:
parent
2f6d4da712
commit
bd7a4ca898
4 changed files with 19 additions and 10 deletions
|
|
@ -379,7 +379,7 @@ impl FloatingLayout {
|
|||
);
|
||||
if focused == Some(elem) {
|
||||
if indicator_thickness > 0 {
|
||||
let element = IndicatorShader::element(
|
||||
let element = IndicatorShader::focus_element(
|
||||
renderer,
|
||||
elem.clone(),
|
||||
Rectangle::from_loc_and_size(
|
||||
|
|
|
|||
|
|
@ -2148,7 +2148,7 @@ where
|
|||
|
||||
if focused == Some(mapped) {
|
||||
if indicator_thickness > 0 {
|
||||
let element = IndicatorShader::element(
|
||||
let element = IndicatorShader::focus_element(
|
||||
renderer,
|
||||
mapped.clone(),
|
||||
geo,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue