MCPcopy Create free account
hub / github.com/MultiMC/Launcher / contentHeight

Method contentHeight

launcher/ui/instanceview/VisualGroup.cpp:285–293  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

283}
284
285int VisualGroup::contentHeight() const
286{
287 if (collapsed)
288 {
289 return 0;
290 }
291 auto last = rows[numRows() - 1];
292 return last.top + last.height;
293}
294
295int VisualGroup::numRows() const
296{

Callers 1

updateScrollbarMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected