the 'audit the invalidate-bitmap-cache' commit (2 commits ago) avoided

running the 'redraw the definitions/interactions label' timer when the
language didn't ask for those labels; this commit also avoids running
the timer when the user has disabled the labels
This commit is contained in:
Robby Findler 2012-11-04 19:46:32 -06:00
parent 0fa78a8cee
commit f22aaec21d

View File

@ -1819,7 +1819,8 @@
(update-recently-typed #t)
(set! fade-amount 0)
(send recently-typed-timer stop)
(when lang-wants-big-defs/ints-labels?
(when (and lang-wants-big-defs/ints-labels?
(preferences:get 'drracket:defs/ints-labels))
(send recently-typed-timer start 10000 #t)))
(super on-char evt))