mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-01 11:33:48 +00:00
more unused variable cleanups
This commit is contained in:
parent
3038e53856
commit
1ee127b753
31 changed files with 2 additions and 75 deletions
|
|
@ -381,7 +381,7 @@ bool GuiContainer::anchorControl( GuiControl *control, const Point2I &deltaParen
|
|||
|
||||
Point2I minExtent = control->getMinExtent();
|
||||
// Only resize if our minExtent is satisfied with it.
|
||||
if( !( newRect.extent.x >= control->getMinExtent().x && newRect.extent.y >= control->getMinExtent().y ) )
|
||||
if( !( newRect.extent.x >= minExtent.x && newRect.extent.y >= minExtent.y ) )
|
||||
return false;
|
||||
|
||||
if( newRect.point == oldRect.point && newRect.extent == oldRect.extent )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue