From: asl Date: Wed, 8 Nov 2017 13:46:56 +0000 (+0300) Subject: refs #1382: when user clicks the current position becomes center X-Git-Tag: v2.1~51^2~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a1ff273a78d441ed1319d44ccf79fc8a8a99247c;p=modules%2Fhydro.git refs #1382: when user clicks the current position becomes center --- diff --git a/src/HYDROGUI/HYDROGUI_Overview.cxx b/src/HYDROGUI/HYDROGUI_Overview.cxx index f7185a2f..1105e26f 100644 --- a/src/HYDROGUI/HYDROGUI_Overview.cxx +++ b/src/HYDROGUI/HYDROGUI_Overview.cxx @@ -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 );