diff --git a/collects/texpict/utils.ss b/collects/texpict/utils.ss index 29af8288bb..1dfcb72d5b 100644 --- a/collects/texpict/utils.ss +++ b/collects/texpict/utils.ss @@ -935,10 +935,11 @@ (let ([new (dc (lambda (dc x y) - (let ([a (send dc get-alpha)]) - (send dc set-alpha (* a alpha-factor)) - (drawer dc x y) - (send dc set-alpha a))) + (unless (zero? alpha-factor) + (let ([a (send dc get-alpha)]) + (send dc set-alpha (* a alpha-factor)) + (drawer dc x y) + (send dc set-alpha a)))) (pict-width p) (pict-height p) (pict-ascent p)