mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-26 06:45:36 +00:00
Merge branch 'development' of https://github.com/GarageGames/Torque3D into andOrMaybe
Conflicts: Engine/source/T3D/staticShape.cpp
This commit is contained in:
commit
dd071484da
517 changed files with 87707 additions and 178465 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 )
|
||||
|
|
|
|||
|
|
@ -384,8 +384,6 @@ void GuiFormCtrl::onMouseUp(const GuiEvent &event)
|
|||
mouseUnlock();
|
||||
setUpdate();
|
||||
|
||||
Point2I localClick = globalToLocalCoord(event.mousePoint);
|
||||
|
||||
// If we're clicking in the header then resize
|
||||
//if(localClick.y < mThumbSize.y && mDepressed)
|
||||
// setCollapsed(!mCollapsed);
|
||||
|
|
|
|||
|
|
@ -176,7 +176,6 @@ void GuiRolloutCtrl::removeObject( SimObject *obj )
|
|||
|
||||
void GuiRolloutCtrl::onMouseDown( const GuiEvent &event )
|
||||
{
|
||||
Point2I localPoint = globalToLocalCoord( event.mousePoint );
|
||||
mouseLock();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue