1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-03-19 21:10:12 +02:00

Custom campaigns list: redraw parent as we use it's background

This one fix issue 2057
This commit is contained in:
ArseniyShestakov 2015-03-13 18:06:19 +03:00
parent f8747a1f16
commit 1f1f61cf15

View File

@ -1213,6 +1213,7 @@ SelectionTab::SelectionTab(CMenuScreen::EState Type, const std::function<void(CM
else
{
bg = nullptr; //use background from parent
type |= REDRAW_PARENT; // we use parent background so we need to make sure it's will be redrawn too
pos.w = parent->pos.w;
pos.h = parent->pos.h;
pos.x += 3; pos.y += 6;