mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
[qwaq] Fix last window drag-resize corner case
I think I got distracted by the HoM bug while testing corners. Anyway, with this, window resize by dragging seems to work well.
This commit is contained in:
parent
e554202c24
commit
ee6b078f18
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@
|
|||
ds.x = bound (1, xlen + delta.x, b.width - xpos) - xlen;
|
||||
} else if (sender == bottomLeftDrag) {
|
||||
dp.x = bound (0, xpos + delta.x, xpos + xlen - delta.x - 1) - xpos;
|
||||
ds.x = bound (1, xlen - delta.x, b.width - xpos) - xlen;
|
||||
ds.x = bound (1, xlen - delta.x, b.width - xpos - delta.x) - xlen;
|
||||
ds.y = bound (1, ylen + delta.y, b.height - ypos) - ylen;
|
||||
} else if (sender == bottomRightDrag) {
|
||||
ds.x = bound (1, xlen + delta.x, b.width - xpos) - xlen;
|
||||
|
|
Loading…
Reference in a new issue