Kaydet (Commit) 9085cb9a authored tarafından László Németh's avatar László Németh

tdf#91462 - fix invisible menu titles of open menus

Change-Id: I6c9346917b813c662307999fe1c19a6c0665a656
üst 9eee43a8
......@@ -1843,7 +1843,12 @@ void Menu::ImplPaint(vcl::RenderContext& rRenderContext,
if (bRollover)
rRenderContext.SetTextColor(rSettings.GetMenuBarRolloverTextColor());
else if (bHighlighted)
rRenderContext.SetTextColor(rSettings.GetMenuBarHighlightTextColor());
{
if ( rSettings.GetMenuHighlightColor().AsRGBHexString() != rSettings.GetMenuBarHighlightTextColor().AsRGBHexString() )
rRenderContext.SetTextColor(rSettings.GetMenuBarHighlightTextColor());
else
rRenderContext.SetTextColor(rSettings.GetMenuBarRolloverTextColor());
}
}
else
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment