Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrachytski <siarhei.rachytski@gmail.com>2012-06-02 21:21:56 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:39:19 +0300
commit8c35666e0f7d329b7c15e84f31e981aaefbc85dd (patch)
tree8a525cf73b3202301857cbfbc2cf95711b887828 /gui/button.cpp
parent36c49f0e317b063f2c614d635d033cfaede10929 (diff)
fixed bug with order of rendering.
Diffstat (limited to 'gui/button.cpp')
-rw-r--r--gui/button.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/button.cpp b/gui/button.cpp
index 8dc964a8ec..dd1ac461c9 100644
--- a/gui/button.cpp
+++ b/gui/button.cpp
@@ -111,7 +111,7 @@ namespace gui
m2::RectD rc(0, 0, width() * k, height() * k);
rc.Offset(tieRect(rc, m));
- r->drawRoundedRectangle(rc, 10 * k, color(state()), depth());
+ r->drawRoundedRectangle(rc, 10 * k, color(state()), depth() - 1);
yg::FontDesc desc = font(state());
desc.m_size *= k;