summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSidharth Singh2012-08-28 10:17:18 (EDT)
committer Stephan Born2012-08-28 10:17:18 (EDT)
commitfbfecf63dc8744ed96dc8117d05e06bfbbbe902d (patch)
treea52c3774e04759fc43f8001b3f9bc4ed1f723f17
parent15eb198384045c09c9115ef92bbb378e2d04d7aa (diff)
downloadorg.eclipse.stardust.ui.web-fbfecf63dc8744ed96dc8117d05e06bfbbbe902d.zip
org.eclipse.stardust.ui.web-fbfecf63dc8744ed96dc8117d05e06bfbbbe902d.tar.gz
org.eclipse.stardust.ui.web-fbfecf63dc8744ed96dc8117d05e06bfbbbe902d.tar.bz2
CRNT-25577
1)Added adjustment for offset in flyout menu git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/ui.web@58736 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/m_connection.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/m_connection.js b/web-modeler/src/main/resources/META-INF/xhtml/js/m_connection.js
index 7768b80..7fa3918 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/m_connection.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/m_connection.js
@@ -44,6 +44,7 @@ define(
*/
function Connection() {
var drawable = m_drawable.createDrawable();
+ var FLYOUT_MENU_LOC_OFFSET = 20;
m_utils.inheritFields(this, drawable);
m_utils.inheritMethods(Connection.prototype, drawable);
@@ -1146,10 +1147,9 @@ define(
this.adjustFlyOutMenu(event.pageX
- this.diagram.X_OFFSET + scrollPos.left
- m_constants.FLY_OUT_MENU_ITEM_MARGIN,
- event.pageY - this.diagram.Y_OFFSET
+ event.pageY - this.diagram.Y_OFFSET -FLYOUT_MENU_LOC_OFFSET
+ scrollPos.top
- + m_constants.FLY_OUT_MENU_EMPTY_MARGIN
- + 5, 60, 30);
+ , 60, 30);
this.showFlyOutMenu();
}
};