mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-18 14:48:34 +01:00
The start of a drag is handled after the drag has begun, so the rect read then is already some way into it, and a mouse resize came out short by that much: dragging an edge by 60px moved it 53px, and the longer the drag the more was lost. An edge that has moved since the start was read was taken from the edge of the window's tile, so measure from that. An edge that has not moved is not being dragged, and an edge a long way from its tile is a window that could not be as small as it, so both stay as they were read.