render: Fixed #108 active hint overlapping

This commit is contained in:
Victoria Brekenfeld 2023-05-25 21:36:44 +02:00
parent 2f6d4da712
commit bd7a4ca898
4 changed files with 19 additions and 10 deletions

View file

@ -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(

View file

@ -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,