From b641947bdbdea338d08eea0169c73cd9a9297d85 Mon Sep 17 00:00:00 2001 From: vng Date: Wed, 17 Jul 2013 16:59:45 +0300 Subject: [PATCH] Fix draw order of ruler and location. --- graphics/depth_constants.hpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/graphics/depth_constants.hpp b/graphics/depth_constants.hpp index 72563d4139..0c498a7123 100644 --- a/graphics/depth_constants.hpp +++ b/graphics/depth_constants.hpp @@ -15,9 +15,8 @@ namespace graphics static const int balloonBaseDepth = maxDepth - balloonContentInc; static const int compassDepth = balloonBaseDepth - 10; - static const int locationDepth = compassDepth - 10; + static const int rulerDepth = compassDepth; + static const int locationDepth = rulerDepth - 10; static const int poiAndBookmarkDepth = locationDepth - 10; - - static const int countryStatusDepth = locationDepth - 10; - static const int rulerDepth = countryStatusDepth; + static const int countryStatusDepth = poiAndBookmarkDepth - 10; }