Fixed layout virtualres on children widgets

This commit is contained in:
OM 2023-05-16 16:22:55 +02:00
parent 6807471464
commit c36757be06

View file

@ -184,7 +184,7 @@ void UILayout::ProcessCommands
{
widget->InitFrame( m_currentcontainer, 0, 0, 128, 64, -1, "verdana-12" );
if( widget->m_bVirtual )
if( m_currentcontainer->m_bVirtual )
{
ev = new Event( EV_Layout_VirtualRes );
ev->AddInteger( 1 );