Posref changes in the editor should apply...
This commit is contained in:
parent
e87d83bccc
commit
2383e19561
2 changed files with 4 additions and 2 deletions
|
@ -226,13 +226,13 @@ namespace NLGUI
|
|||
else
|
||||
if( name == "posref" )
|
||||
{
|
||||
convertHotSpot( value.c_str() );
|
||||
_PosRef = convertHotSpot( value.c_str() );
|
||||
return;
|
||||
}
|
||||
else
|
||||
if( name == "parentposref" )
|
||||
{
|
||||
convertHotSpot( value.c_str() );
|
||||
_ParentPosRef = convertHotSpot( value.c_str() );
|
||||
}
|
||||
else
|
||||
if( name == "sizeref" )
|
||||
|
|
|
@ -2683,6 +2683,8 @@ namespace NLGUI
|
|||
e->setParentSize( g );
|
||||
g->addElement( e );
|
||||
|
||||
//e->setName( "==MARKED==" );
|
||||
|
||||
draggedElement = NULL;
|
||||
|
||||
onWidgetMoved( oldid, e->getId() );
|
||||
|
|
Loading…
Reference in a new issue