when changing the error arrows, only invalidate the editor

when the arrows are actually different (just using eq? here)
This commit is contained in:
Robby Findler 2012-11-10 08:47:56 -06:00
parent 867f2d3a43
commit 4421e227ff

View File

@ -894,8 +894,9 @@ module browser threading seems wrong.
(inherit invalidate-bitmap-cache)
(define/public (set-error-arrows arrows)
(set! error-arrows arrows)
(invalidate-bitmap-cache))
(unless (eq? arrows error-arrows)
(set! error-arrows arrows)
(invalidate-bitmap-cache)))
(define error-arrows #f)