From f49399658d0514952066531c0db69529bbc46feb Mon Sep 17 00:00:00 2001 From: Seongjun Yim Date: Thu, 2 May 2013 14:33:05 +0900 Subject: [PATCH] fix bug for getting relative coordinate Change-Id: I788f82fe00de87674d36366ab6b38baba75af964 Signed-off-by: Seongjun Yim --- src/controls/FWebCtrl_Web.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controls/FWebCtrl_Web.cpp b/src/controls/FWebCtrl_Web.cpp index 8c34951..fd43053 100755 --- a/src/controls/FWebCtrl_Web.cpp +++ b/src/controls/FWebCtrl_Web.cpp @@ -342,14 +342,14 @@ _Web::GetAbsoluteCoordinate(FloatPoint relativePoint) Point _Web::GetRelativeCoordinate(Point absolutePoint) { - return _CoordinateSystemUtils::InverseTransform(ConvertToControlPosition(absolutePoint)); + return ConvertToControlPosition(_CoordinateSystemUtils::InverseTransform(absolutePoint)); } FloatPoint _Web::GetRelativeCoordinate(FloatPoint absolutePoint) { - return _CoordinateSystemUtils::InverseTransform(ConvertToControlPosition(absolutePoint)); + return ConvertToControlPosition(_CoordinateSystemUtils::InverseTransform(absolutePoint)); } -- 2.7.4