mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-11 03:02:19 +00:00
bump zIndex by 1 to avoid -1
This commit is contained in:
1 parent
cb390325a6
commit
ab4f0f87ca
1 file changed
+1
-1
@@ -1280,7 +1280,7 @@ var PreventScroll = true;
|
||||
insertionIndex = _windowLevels[middle] > aLevel ? middle : middle + 1
|
||||
|
||||
[_windowLevels insertObject:aLevel atIndex:insertionIndex];
|
||||
layer._DOMElement.style.zIndex = aLevel;
|
||||
layer._DOMElement.style.zIndex = aLevel + 1;
|
||||
|
||||
_DOMBodyElement.appendChild(layer._DOMElement);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user