mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
Fix zIndex value
This commit is contained in:
parent
2753285a71
commit
e81f6a7e09
@ -122,7 +122,7 @@ export default class NodeContainer {
|
|||||||
textTransform: parseTextTransform(style.textTransform),
|
textTransform: parseTextTransform(style.textTransform),
|
||||||
transform: parseTransform(style),
|
transform: parseTransform(style),
|
||||||
visibility: parseVisibility(style.visibility),
|
visibility: parseVisibility(style.visibility),
|
||||||
zIndex: position !== POSITION.STATIC ? parseZIndex(style.zIndex) : 0
|
zIndex: parseZIndex(position !== POSITION.STATIC ? style.zIndex : 'auto')
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.isTransformed()) {
|
if (this.isTransformed()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user