mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-21 21:26:12 +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:
@@ -2629,8 +2629,7 @@ void BufferViewer::Reset()
|
||||
QObject::connect(ui->render, &CustomPaintWidget::mouseWheel, this,
|
||||
&BufferViewer::render_mouseWheel);
|
||||
|
||||
ui->render->setColours(QColor::fromRgbF(0.57f, 0.57f, 0.57f, 1.0f),
|
||||
QColor::fromRgbF(0.81f, 0.81f, 0.81f, 1.0f));
|
||||
ui->render->setColours(Formatter::DarkCheckerColor(), Formatter::LightCheckerColor());
|
||||
}
|
||||
|
||||
void BufferViewer::ClearModels()
|
||||
|
||||
Reference in New Issue
Block a user