MCPcopy Create free account
hub / github.com/PolyMC/PolyMC / contentHeight

Method contentHeight

launcher/ui/instanceview/VisualGroup.cpp:312–320  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

310}
311
312int VisualGroup::contentHeight() const
313{
314 if (collapsed)
315 {
316 return 0;
317 }
318 auto last = rows[numRows() - 1];
319 return last.top + last.height;
320}
321
322int VisualGroup::numRows() const
323{

Callers 1

updateScrollbarMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected