moving: Fix dragging against lower/right screen edges
This commit is contained in:
parent
be192c80e5
commit
9ce6a871c1
1 changed files with 4 additions and 1 deletions
|
|
@ -247,7 +247,10 @@ impl PointerGrab<State> for MoveGrab {
|
||||||
output
|
output
|
||||||
.geometry()
|
.geometry()
|
||||||
.as_logical()
|
.as_logical()
|
||||||
.contains(handle.current_location().to_i32_round())
|
.overlaps_or_touches(Rectangle::from_loc_and_size(
|
||||||
|
handle.current_location().to_i32_floor(),
|
||||||
|
(0,0),
|
||||||
|
))
|
||||||
})
|
})
|
||||||
.cloned()
|
.cloned()
|
||||||
else {
|
else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue