fixed bug with order of rendering.

This commit is contained in:
rachytski 2012-06-02 21:21:56 +04:00 committed by Alex Zolotarev
parent 36c49f0e31
commit 8c35666e0f

View file

@ -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;