diff --git a/src/modules/launcher/item.rs b/src/modules/launcher/item.rs index 776105c..679f2f0 100644 --- a/src/modules/launcher/item.rs +++ b/src/modules/launcher/item.rs @@ -274,7 +274,7 @@ impl ItemButton { let close = match bar_position { BarPosition::Top => y + THRESHOLD < alloc.height() as f64, - BarPosition::Bottom => y > 0.0, + BarPosition::Bottom => y > THRESHOLD, BarPosition::Left => x + THRESHOLD < alloc.width() as f64, BarPosition::Right => x > THRESHOLD, };