Module: nagvis Branch: master Commit: f065554de407ade8dc55b0273b29f34a607ef066 URL: http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=f065554de407ade8dc55b0273b29f34a607ef066
Author: LaMi <[email protected]> Date: Sun Mar 21 23:22:00 2010 +0100 #226 resetting z-index in all cases - even when the object has not been moved --- share/frontend/wui/js/wui.js | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/share/frontend/wui/js/wui.js b/share/frontend/wui/js/wui.js index aca5f29..23b32d5 100644 --- a/share/frontend/wui/js/wui.js +++ b/share/frontend/wui/js/wui.js @@ -365,6 +365,9 @@ function saveObjectAfterResize(oObj) { } function saveObjectAfterMoveAndDrop(oObj) { + // Reset z-index to configured value + oObj.setZ(oObj.defz); + // When x or y are negative just return this and make no change if((oObj.y - getHeaderHeight()) < 0 || oObj.x < 0) { oObj.moveTo(oObj.oldX, oObj.oldY); @@ -384,9 +387,6 @@ function saveObjectAfterMoveAndDrop(oObj) { oObj.moveTo(gridMoveX, gridMoveY); } - // Reset z-index to configured value - oObj.setZ(oObj.defz); - // Split id to get object information var arr = oObj.name.split('_'); ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagvis-checkins mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagvis-checkins
