From a000915c5af23213eb824d5dde4da8df223ce9e3 Mon Sep 17 00:00:00 2001 From: "gyeongmin.ju" Date: Thu, 15 May 2014 12:19:10 +0900 Subject: [PATCH] MODEL : fix position method Signed-off-by: gyeongmin.ju Change-Id: I80abe53ebb2652badb3e6f5b8b9f7e98d912d6fa --- org.tizen.webuibuilder/src/org/tizen/webuibuilder/model/Part.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/org.tizen.webuibuilder/src/org/tizen/webuibuilder/model/Part.java b/org.tizen.webuibuilder/src/org/tizen/webuibuilder/model/Part.java index bf98caa..2f2f488 100644 --- a/org.tizen.webuibuilder/src/org/tizen/webuibuilder/model/Part.java +++ b/org.tizen.webuibuilder/src/org/tizen/webuibuilder/model/Part.java @@ -721,7 +721,8 @@ public class Part implements ISerializer { if (getPositionMode() == PositionMode.ABSOLUTE_POSITION) { lockRefresh(); - Point newPosition = ScreenToPage(new Point(position.x, position.y)); + //Point newPosition = ScreenToPage(new Point(position.x, position.y)); + Point newPosition = new Point(position.x, position.y); Part page = getOwnerPage(); String selectorName = EMPTY; if (page == null) { @@ -794,7 +795,8 @@ public class Part implements ISerializer { if (getPositionMode() == PositionMode.ABSOLUTE_POSITION) { lockRefresh(); - Point newPosition = ScreenToPage(new Point(position.x, position.y)); + //Point newPosition = ScreenToPage(new Point(position.x, position.y)); + Point newPosition = new Point(position.x, position.y); Part page = getOwnerPage(); String selectorName = EMPTY; if (page == null) { -- 2.7.4