1
0
Fork 0
mirror of https://github.com/Zedfrigg/ironbar.git synced 2025-04-19 19:34:24 +02:00
This commit is contained in:
Jake Stanger 2023-08-13 20:33:08 +01:00
parent 9e2ac0f43d
commit 8ec0237bc5
No known key found for this signature in database
GPG key ID: C51FC8F9CB0BEA61

View file

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