when changing the error arrows, only invalidate the editor
when the arrows are actually different (just using eq? here)
This commit is contained in:
parent
867f2d3a43
commit
4421e227ff
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user