mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 21:30:53 +00:00
Make display rendering colours theme-aware.
* In particular this removes hard-coded checkerboard colours that don't look right on dark themes.
This commit is contained in:
@@ -450,7 +450,11 @@ void SettingsDialog::on_UIStyle_currentIndexChanged(int index)
|
||||
m_Ctx.Config().UIStyle = newStyle;
|
||||
|
||||
if(ret == QMessageBox::Yes)
|
||||
{
|
||||
m_Ctx.Config().SetStyle();
|
||||
|
||||
m_Ctx.Config().SetupFormatting();
|
||||
}
|
||||
|
||||
m_Ctx.Config().Save();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user