mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
whitespace updates
This commit is contained in:
parent
7126b5868a
commit
d90b602e5a
16 changed files with 421 additions and 421 deletions
|
|
@ -462,9 +462,9 @@ void GuiRolloutCtrl::processTick()
|
|||
newHeight -= mAnimateStep;
|
||||
|
||||
if( !mIsAnimating )
|
||||
{
|
||||
{
|
||||
mIsExpanded = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
else // We're expanding ourself (Showing our contents)
|
||||
{
|
||||
|
|
@ -559,13 +559,13 @@ void GuiRolloutCtrl::onRender( Point2I offset, const RectI &updateRect )
|
|||
if ( pChild )
|
||||
{
|
||||
if ( !mIsExpanded && !mIsAnimating && pChild->isVisible() )
|
||||
{
|
||||
{
|
||||
pChild->setVisible( false );
|
||||
}
|
||||
}
|
||||
else if ( (mIsExpanded || mIsAnimating) && !pChild->isVisible() )
|
||||
{
|
||||
{
|
||||
pChild->setVisible( true );
|
||||
}
|
||||
}
|
||||
}
|
||||
renderChildControls( offset, updateRect );
|
||||
|
||||
|
|
@ -614,7 +614,7 @@ DefineEngineMethod( GuiRolloutCtrl, toggleCollapse, void, (),,
|
|||
if( object->isExpanded() )
|
||||
object->collapse();
|
||||
else
|
||||
object->expand();
|
||||
object->expand();
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue