From 8ec0237bc5ea5e1d87b5db3d58efa35573842ce1 Mon Sep 17 00:00:00 2001 From: Jake Stanger Date: Sun, 13 Aug 2023 20:33:08 +0100 Subject: [PATCH] amend 54f0f232 --- src/modules/launcher/item.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, };