Skip to content

Commit

Permalink
Correct rollover window display on MacOS.
Browse files Browse the repository at this point in the history
  • Loading branch information
bdbcat committed Jan 4, 2020
1 parent 7f40b58 commit ca924a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RolloverWin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ void RolloverWin::SetBitmap( int rollover )
case LEG_ROLLOVER: text = _("RouteLegInfoRollover"); break;
}

if(usegl && m_bmaincanvas)
if(m_bmaincanvas)
AlphaBlending( dc, 0, 0, m_size.x, m_size.y, radius, GetGlobalColor( _T ( "YELO1" ) ), 172 );

mdc.SetTextForeground( FontMgr::Get().GetFontColor( text ) );
Expand Down

0 comments on commit ca924a6

Please sign in to comment.