Update default theme and adjust use of background colors

This commit is contained in:
Magne Sjaastad
2020-10-02 11:12:25 +02:00
parent c23c735be3
commit b1c2c56d9e
3 changed files with 12 additions and 12 deletions

View File

@@ -202,7 +202,7 @@ RiuViewer::RiuViewer( const QGLFormat& format, QWidget* parent )
m_windowEdgeAxisOverlay = new RivWindowEdgeAxesOverlayItem( standardFont );
m_showWindowEdgeAxes = false;
auto backgroundColor = RiuGuiTheme::getColorByVariableName( "backgroundColor2" );
auto backgroundColor = RiuGuiTheme::getColorByVariableName( "backgroundColor1" );
auto textColor = RiuGuiTheme::getColorByVariableName( "textColor" );
m_windowEdgeAxisOverlay->setFrameColor( cvf::Color4f( RiaColorTools::fromQColorTo3f( backgroundColor ) ) );
m_windowEdgeAxisOverlay->setTextColor( RiaColorTools::fromQColorTo3f( textColor ) );