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:
parent
f8747a1f16
commit
1f1f61cf15
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user