Contant lines/limits on XY-Plot

This commit is contained in:
Jan Käberich 2022-04-22 13:46:46 +02:00
parent cacea26e3f
commit 27490e1a33
14 changed files with 201 additions and 33 deletions

View file

@ -110,6 +110,18 @@ void TileWidget::fromJSON(nlohmann::json j)
}
}
bool TileWidget::allLimitsPassing()
{
if(isSplit) {
return child1->allLimitsPassing() && child2->allLimitsPassing();
} else if(hasContent) {
return content->getLimitPassing();
} else {
// empty tile always passes
return true;
}
}
void TileWidget::splitVertically()
{
if(isSplit) {