Move towards resolving picture rendering bug

The bug concerns a mutable vector storing the amount of data that has
been poked.
This commit is contained in:
2026-01-01 23:44:18 +00:00
parent 0a8725f68d
commit 2c978b4de1
19 changed files with 316 additions and 315 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ fixedSizePicClampArrow xbord ybord pic p cfig w =
borderPoint = intersectSegPolyFirst campos p bords
windowPoint = intersectSegPolyFirst campos p winps
arrowPic = case borderPoint of
Nothing -> blank
Nothing -> mempty
Just bp -> thickLine 5 [bp, fromMaybe p windowPoint]
(V2 x y) = fromMaybe p borderPoint
campos = w ^. wCam . camCenter