Vincent van Ravesteijn <[EMAIL PROTECTED]> writes:
> -     pi.background_color = backgroundColor();
> +     if (pi.selected_)
> +             pi.background_color = Color_selection;
> +     else
> +             pi.background_color = backgroundColor();

You could even make a new backgroundColor(PainterInfo const &) method,
that would also allow you to pass the color of the containing inset
(case of a footnote in a yellow LyX note) and thus fix other problems...

JMarc

Reply via email to