mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-04-19 19:34:24 +02:00
amend 54f0f232
This commit is contained in:
parent
9e2ac0f43d
commit
8ec0237bc5
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue