Fix crWallCollisions by using a rectangle zone instead of a point
This commit is contained in:
@@ -85,7 +85,7 @@ listCursorChooseBorderScale ygap s borders xoff yoff cfig yint col cursxsize cur
|
||||
winScale cfig
|
||||
. translate
|
||||
(15 - (9 * s) + xoff - halfWidth cfig)
|
||||
(halfHeight cfig + negate (yoff - s * 12.5) - ((s * 10 + ygap) * (fromIntegral yint + 1)))
|
||||
(halfHeight cfig + s * 12.5 - (yoff + (s * 10 + ygap) * (fromIntegral yint + 1)))
|
||||
. color col
|
||||
$ chooseCursorBorders (s * wth) (s * hgt) borders
|
||||
where
|
||||
|
||||
Reference in New Issue
Block a user