@@ -33,7 +33,8 @@ using namespace tb;
namespace Atomic
{
-UIEditField::UIEditField(Context* context, bool createWidget) : UIWidget(context, false)
+UIEditField::UIEditField(Context* context, bool createWidget) : UIWidget(context, false),
+ firstFocusFlag_(false)
if (createWidget)
@@ -74,10 +74,9 @@ protected:
virtual void OnFocusChanged(bool focused);
+private:
// Used to keep track of if we have just been focused for the click select
bool firstFocusFlag_;
-private:
-
};
}