We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41a8813 commit 2571a56Copy full SHA for 2571a56
drracket-core-lib/drracket/private/syncheck/gui.rkt
@@ -2225,7 +2225,10 @@ If the namespace does not, they are colored the unbound color.
2225
[else "leftup"]))
2226
(drracket:arrow:draw-arrow dc start-x start-y end-x end-y dx dy
2227
#:pen-width 2
2228
- #:%age %age
+ ;; with especially strange macros, the calculations above
2229
+ ;; might produce numbers that are out of range, so we
2230
+ ;; just give up on the curved arrows in that case.
2231
+ #:%age (if (and (number? %age) (not (<= -1 %age 1))) #f %age)
2232
#:bb (list 0
2233
#f
2234
max-width-for-arrow
0 commit comments