simple fix for ordering of OverlayElement's on screen.

This commit is contained in:
rachytski 2013-02-19 19:08:17 +03:00 committed by Alex Zolotarev
parent c41ad09699
commit 2a94a88db9
3 changed files with 3 additions and 3 deletions

View file

@ -664,7 +664,7 @@ namespace android
BookmarkBalloon::Params bp;
bp.m_position = graphics::EPosAbove;
bp.m_depth = graphics::maxDepth - 3;
bp.m_depth = graphics::maxDepth;
bp.m_pivot = m2::PointD(0, 0);
bp.m_imageMarginBottom = 10;
bp.m_imageMarginLeft = 0;

View file

@ -297,7 +297,7 @@ void Drawer::drawPathNumber(di::PathInfo const & path, di::DrawInfo const * pInf
true,
graphics::Color(255, 255, 255, 255));
m_pScreen->drawText(fontDesc, pt, graphics::EPosCenter, pInfo->m_road, graphics::maxDepth, true);
m_pScreen->drawText(fontDesc, pt, graphics::EPosCenter, pInfo->m_road, graphics::maxDepth - 10, true);
}
}
}

View file

@ -66,7 +66,7 @@ InformationDisplay::InformationDisplay(Framework * framework)
location::State::Params lsp;
lsp.m_position = graphics::EPosCenter;
lsp.m_depth = graphics::maxDepth;
lsp.m_depth = graphics::maxDepth - 1;
lsp.m_pivot = m2::PointD(0, 0);
lsp.m_compassAreaColor = graphics::Color(255, 255, 255, 192);
lsp.m_compassBorderColor = graphics::Color(255, 255, 255, 96);