Skip to content

Commit ca00158

Browse files
content: Implement debugDescribeChildren for KatexVlistRowNode
Turns out that anything under KatexVlistRowNode wasn't being tested by content tests, fix that by implementing this method. Fortunately there were no fixes needed in the tests.
1 parent 8c6b215 commit ca00158

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/model/content.dart

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,11 @@ class KatexVlistRowNode extends ContentNode {
458458
super.debugFillProperties(properties);
459459
properties.add(DoubleProperty('verticalOffsetEm', verticalOffsetEm));
460460
}
461+
462+
@override
463+
List<DiagnosticsNode> debugDescribeChildren() {
464+
return [node.toDiagnosticsNode()];
465+
}
461466
}
462467

463468
class MathBlockNode extends MathNode implements BlockContentNode {

0 commit comments

Comments
 (0)