summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSidharth Singh2012-08-27 06:35:39 (EDT)
committerStephan Born2012-08-27 06:35:39 (EDT)
commit6ed9dd245f5cab066464cfacc00a4ab8176b2e96 (patch)
tree05aa90f98a1fdcb772756ad302d848e1a76e2a52
parent627d9ee3ba9b65fdf7bd87f3fad9976c7fe3161a (diff)
downloadorg.eclipse.stardust.ui.web-6ed9dd245f5cab066464cfacc00a4ab8176b2e96.zip
org.eclipse.stardust.ui.web-6ed9dd245f5cab066464cfacc00a4ab8176b2e96.tar.gz
org.eclipse.stardust.ui.web-6ed9dd245f5cab066464cfacc00a4ab8176b2e96.tar.bz2
CRNT-CRNT-25844
1)Added adjustment in connection flout menu. git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/ui.web@58704 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/m_connection.js15
1 files changed, 9 insertions, 6 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 7df2044..b2505cc 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
@@ -1144,9 +1144,12 @@ define(
var scrollPos = m_modelerUtils.getModelerScrollPosition();
this.adjustFlyOutMenu(event.pageX
- - this.diagram.X_OFFSET + scrollPos.left - m_constants.FLY_OUT_MENU_ITEM_MARGIN,
+ - this.diagram.X_OFFSET + scrollPos.left
+ - m_constants.FLY_OUT_MENU_ITEM_MARGIN,
event.pageY - this.diagram.Y_OFFSET
- + scrollPos.top + m_constants.FLY_OUT_MENU_EMPTY_MARGIN, 55, 30);
+ + scrollPos.top
+ + m_constants.FLY_OUT_MENU_EMPTY_MARGIN
+ + 5, 60, 30);
this.showFlyOutMenu();
}
};
@@ -1198,8 +1201,8 @@ define(
this.flyOutMenuBackground.attr({
'x' : x,
'y' : y,
- width : width,
- height : height
+ width :width,
+ height :height
});
this.adjustFlyOutMenuItems(x, y, width, height);
@@ -1216,9 +1219,9 @@ define(
.attr({
'x' : x
+ n
- * (m_constants.FLY_OUT_MENU_CONTENT_MARGIN),
+ * (m_constants.FLY_OUT_MENU_CONTENT_MARGIN) + 5,
'y' : y
- + m_constants.FLY_OUT_MENU_ITEM_MARGIN
+ + m_constants.FLY_OUT_MENU_EMPTY_MARGIN
});
++n;
}