(widget, node, lineView, dims)
| 917 | } |
| 918 | |
| 919 | function positionLineWidget(widget, node, lineView, dims) { |
| 920 | if (widget.noHScroll) { |
| 921 | (lineView.alignable || (lineView.alignable = [])).push(node); |
| 922 | var width = dims.wrapperWidth; |
| 923 | node.style.left = dims.fixedPos + "px"; |
| 924 | if (!widget.coverGutter) { |
| 925 | width -= dims.gutterTotalWidth; |
| 926 | node.style.paddingLeft = dims.gutterTotalWidth + "px"; |
| 927 | } |
| 928 | node.style.width = width + "px"; |
| 929 | } |
| 930 | if (widget.coverGutter) { |
| 931 | node.style.zIndex = 5; |
| 932 | node.style.position = "relative"; |
| 933 | if (!widget.noHScroll) node.style.marginLeft = -dims.gutterTotalWidth + "px"; |
| 934 | } |
| 935 | } |
| 936 | |
| 937 | // POSITION OBJECT |
| 938 |
no outgoing calls
no test coverage detected
searching dependent graphs…