mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-17 00:07:41 +02:00
Enter popup await mode only if there is an active popup
This commit is contained in:
@ -239,6 +239,11 @@ void CIntObject::onScreenResize()
|
||||
center(pos, true);
|
||||
}
|
||||
|
||||
bool CIntObject::isPopupWindow() const
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
const Rect & CIntObject::center( const Rect &r, bool propagate )
|
||||
{
|
||||
pos.w = r.w;
|
||||
|
Reference in New Issue
Block a user