Update default theme and adjust use of background colors

This commit is contained in:
Magne Sjaastad committed 2020-10-02 06:12:36 -04:00
1 parent c23c735be3
commit b1c2c56d9e
3 files changed
+12 -12

No files matched your search

+1 -1
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 ) );