mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Merges in Monkey's fixes PR with a resolution for a conflict
This commit is contained in:
commit
bedc79aacb
22 changed files with 131 additions and 74 deletions
|
|
@ -212,8 +212,7 @@ void GuiTextEditCtrl::execConsoleCallback()
|
|||
Parent::execConsoleCallback();
|
||||
|
||||
// Update the console variable:
|
||||
if ( mConsoleVariable[0] )
|
||||
Con::setVariable( mConsoleVariable, mTextBuffer.getPtr8() );
|
||||
setVariable(mTextBuffer.getPtr8());
|
||||
}
|
||||
|
||||
void GuiTextEditCtrl::updateHistory( StringBuffer *inTxt, bool moveIndex )
|
||||
|
|
@ -374,6 +373,8 @@ S32 GuiTextEditCtrl::calculateCursorPos( const Point2I &globalPos )
|
|||
|
||||
void GuiTextEditCtrl::onMouseDown( const GuiEvent &event )
|
||||
{
|
||||
if(!isActive())
|
||||
return;
|
||||
mDragHit = false;
|
||||
|
||||
// If we have a double click, select all text. Otherwise
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue