Moving isActive from radar product view to map settings

This commit is contained in:
Dan Paulat 2021-11-27 19:17:31 -06:00
parent f7f86ec24a
commit b78011a2d3
7 changed files with 35 additions and 30 deletions

View file

@ -159,7 +159,7 @@ void OverlayLayer::Render(const QMapbox::CustomLayerRenderParameters& params)
gl.glUniformMatrix4fv(
p->uMVPMatrixLocation_, 1, GL_FALSE, glm::value_ptr(projection));
if (context()->radarProductView_->IsActive())
if (context()->settings_.isActive_)
{
const float vertexLX = 1.0f;
const float vertexRX = static_cast<float>(params.width) - 1.0f;