]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
refs #1382: when user clicks the current position becomes center
authorasl <asl@opencascade.com>
Wed, 8 Nov 2017 13:46:56 +0000 (16:46 +0300)
committerasl <asl@opencascade.com>
Wed, 8 Nov 2017 13:47:10 +0000 (16:47 +0300)
src/HYDROGUI/HYDROGUI_Overview.cxx

index f7185a2fa587e21e7bfc29fc0612b1cf77eef8aa..1105e26fa45a18bd042962dd8dbc4182e44e16c8 100644 (file)
@@ -125,9 +125,9 @@ void HYDROGUI_OverviewBand::drag( const QPoint& thePoint, bool isStart )
   if( isStart )
   {
     myStartPoints = myPoints;
-    if( contains( thePoint ) )
+    /*if( contains( thePoint ) )
       myStartPnt = thePoint;
-    else
+    else*/
       myStartPnt = center();
     myIsDrag = true;
     dragging( thePoint );