Browse Source

Use M_MARGE_VALUE instead of 99999.0f

2gitcans 8 years ago
parent
commit
9ef9300ada
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/Urho3D/UI/UI.cpp

+ 1 - 1
Source/Urho3D/UI/UI.cpp

@@ -95,7 +95,7 @@ UI::UI(Context* context) :
     dragBeginDistance_(DEFAULT_DRAGBEGIN_DISTANCE),
     mouseButtons_(0),
     lastMouseButtons_(0),
-    maxDoubleClickDist_(99999.0f),	
+    maxDoubleClickDist_(M_LARGE_VALUE),
     qualifiers_(0),
     maxFontTextureSize_(DEFAULT_FONT_TEXTURE_MAX_SIZE),
     initialized_(false),