MCPcopy Index your code
hub / github.com/DHTMLX/gantt / widgetTopHeight

Function widgetTopHeight

samples/common/codehighlight/codemirror.js:2577–2582  ·  view source on GitHub ↗
(lineObj)

Source from the content-addressed store, hash-verified

2575 }
2576
2577 function widgetTopHeight(lineObj) {
2578 var height = 0;
2579 if (lineObj.widgets) { for (var i = 0; i < lineObj.widgets.length; ++i) { if (lineObj.widgets[i].above)
2580 { height += widgetHeight(lineObj.widgets[i]); } } }
2581 return height
2582 }
2583
2584 // Converts a {top, bottom, left, right} box from line-local
2585 // coordinates into another coordinate system. Context may be one of

Callers 3

intoCoordSystemFunction · 0.85
wrappedLineExtentFunction · 0.85
coordsCharInnerFunction · 0.85

Calls 1

widgetHeightFunction · 0.85

Tested by

no test coverage detected