mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fixes by clang-format
This commit is contained in:
committed by
Magne Sjaastad
parent
64a719b1f4
commit
6b5f4dddc9
@@ -245,9 +245,9 @@ void RimTernaryLegendConfig::recreateLegend()
|
||||
// has been removed, (and thus the opengl resources has been deleted) The text in
|
||||
// the legend disappeared because of this, so workaround: recreate the legend when needed:
|
||||
|
||||
int fontSize = this->fontSize();
|
||||
cvf::Font* font = RiaApplication::instance()->sceneFont(fontSize);
|
||||
m_legend = new RivTernarySaturationOverlayItem( font );
|
||||
int fontSize = this->fontSize();
|
||||
cvf::Font* font = RiaApplication::instance()->sceneFont( fontSize );
|
||||
m_legend = new RivTernarySaturationOverlayItem( font );
|
||||
m_legend->setLayout( cvf::OverlayItem::VERTICAL, cvf::OverlayItem::BOTTOM_LEFT );
|
||||
|
||||
updateLegend();
|
||||
|
||||
Reference in New Issue
Block a user