mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
On dark themes, BrightText should be white still
This commit is contained in:
@@ -195,6 +195,11 @@ void RDStyle::polishPalette(QPalette &pal) const
|
||||
else
|
||||
pal.setColor(QPalette::AlternateBase, base.lighter(110));
|
||||
|
||||
if(m_Scheme == Dark)
|
||||
{
|
||||
pal.setColor(QPalette::BrightText, text);
|
||||
}
|
||||
|
||||
pal.setColor(QPalette::ToolTipBase, tooltip);
|
||||
pal.setColor(QPalette::ToolTipText, text);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user