Skip to content

Commit

Permalink
amend 54f0f23
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeStanger committed Aug 13, 2023
1 parent 9e2ac0f commit 8ec0237
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/launcher/item.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
Expand Down

0 comments on commit 8ec0237

Please sign in to comment.