From 29ba3a1dd7a70a8e157c8ed8962c3ea1f2018f1b Mon Sep 17 00:00:00 2001 From: frosch Date: Sat, 13 Aug 2011 10:43:11 +0000 Subject: [PATCH] (svn r22739) -Fix: The measurement tooltip is supposed to be hidden when not dragging an area. --- src/viewport.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/viewport.cpp b/src/viewport.cpp index dcfe4cf01f..e0996c7865 100644 --- a/src/viewport.cpp +++ b/src/viewport.cpp @@ -2786,7 +2786,7 @@ calc_heightdiff_single_direction:; } } - if (t0 != 1 || t1 != 1) { + if (dx != 1 || dy != 1) { int heightdiff = CalcHeightdiff(style, 0, t0, t1); params[index++] = dx;