From a1ff273a78d441ed1319d44ccf79fc8a8a99247c Mon Sep 17 00:00:00 2001 From: asl Date: Wed, 8 Nov 2017 16:46:56 +0300 Subject: [PATCH] refs #1382: when user clicks the current position becomes center --- src/HYDROGUI/HYDROGUI_Overview.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ); -- 2.39.2