Skip to content

Commit 35c84db

Browse files
committed
Move tableau SVG @input to top of component (#79 review comment)
1 parent 1a5d7a8 commit 35c84db

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

frontend/src/app/annotate/tableau-svg/tableau-svg.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ import { TableauTree } from './tableau-tree.component';
1313
})
1414
export class TableauSVG {
1515

16+
public readonly tree = input.required<ProofTree>();
17+
1618
treeDimensions$ = new Subject<Dimensions>();
1719
treeDimensions: Dimensions = {width:0, height: 0};
1820

@@ -33,6 +35,4 @@ export class TableauSVG {
3335
left: Math.max(0, width / 2 - 500)
3436
});
3537
}
36-
37-
public readonly tree = input.required<ProofTree>();
3838
}

0 commit comments

Comments
 (0)