Skip to content

Commit 8871d99

Browse files
committed
disable arrows (even tacked ones) when printing
because they don't draw properly when printing
1 parent 1a9d8b5 commit 8871d99

File tree

1 file changed

+2
-2
lines changed
  • drracket-core-lib/drracket/private/syncheck

1 file changed

+2
-2
lines changed

drracket-core-lib/drracket/private/syncheck/gui.rkt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ If the namespace does not, they are colored the unbound color.
412412
paragraph-end-position first-line-currently-drawn-specially?
413413
line-end-position position-line
414414
syncheck:add-docs-range syncheck:add-require-candidate get-padding
415-
get-extent get-view-size)
415+
get-extent get-view-size is-printing?)
416416

417417
;; arrow-records : (U #f hash[text% => arrow-record])
418418
;; arrow-record = interval-map[(listof arrow-entry)]
@@ -1179,7 +1179,7 @@ If the namespace does not, they are colored the unbound color.
11791179
(start-arrow-draw-timer syncheck-arrow-delay)))
11801180

11811181
(define canvas (get-canvas))
1182-
(when (and canvas admin)
1182+
(when (and canvas admin (not (is-printing?)))
11831183
(define hb (box 0))
11841184
(define wb (box 0))
11851185
(get-extent wb #f)

0 commit comments

Comments
 (0)