improve the drawing of the menu popup when it is yellow and the mouse is over it

original commit: 66f6f04c1eae3faf7d8c41f0e42c799148889096
This commit is contained in:
Robby Findler 2011-01-08 14:29:36 -06:00
parent 9769ae42e9
commit 146ff6cc49

View File

@ -277,7 +277,8 @@
(define w (+ border-inset circle-spacer button-label-inset label-width button-label-inset triangle-width circle-spacer border-inset))
(when bkg-color
(when (and bkg-color
(and (not (or mouse-over? grabbed?))))
(send dc set-pen bkg-color 1 'solid)
(send dc set-brush bkg-color 'solid)
(send dc draw-rectangle dx dy w h))