Panel: take edge case into account
`geometryByDistance` provides a convenient way to offset the panel rect. When a window just touches the panel edge, by offsetting the panel rect by 1px, the window rect will still be intersected with the panel rect.
Please register or sign in to comment