#83 refactored z-index

--HG--
extra : convert_revision : svn%3Ab267cdba-c1da-11dd-874b-8bacd04a0a74/trunk%4091
This commit is contained in:
ondrej.zara
2010-03-17 11:59:59 +00:00
parent a14842c2b9
commit 592f08cc37
3 changed files with 44 additions and 39 deletions
+3 -1
View File
@@ -1072,7 +1072,7 @@ SQL.Map.prototype.init = function(owner) {
this.width = this.dom.container.offsetWidth - 2;
this.height = this.dom.container.offsetHeight - 2;
this.dom.port = OZ.DOM.elm("div",{className:"port",zIndex:10});
this.dom.port = OZ.DOM.elm("div",{className:"port", zIndex:1});
this.dom.container.appendChild(this.dom.port);
this.sync = this.bind(this.sync);
@@ -2252,6 +2252,8 @@ SQL.Designer.prototype.getMaxZ = function() { /* find max zIndex */
var z = this.tables[i].getZ();
if (z > max) { max = z; }
}
OZ.$("controls").style.zIndex = max+5;
return max;
}