mirror of
https://gitlab.kit.edu/uskyk/typicalc.git
synced 2024-11-09 10:50:42 +00:00
Fix single step proof tree
This commit is contained in:
parent
8be024eb65
commit
adb10a01aa
@ -62,7 +62,7 @@ class MathjaxProofTree extends MathjaxAdapter {
|
|||||||
if (this.shadowRoot !== null) {
|
if (this.shadowRoot !== null) {
|
||||||
console.time('stepCalculation');
|
console.time('stepCalculation');
|
||||||
const svg = this.shadowRoot.querySelector<SVGElement>("svg")!;
|
const svg = this.shadowRoot.querySelector<SVGElement>("svg")!;
|
||||||
let root = this.shadowRoot.querySelector("#typicalc-prooftree")!.parentNode! as SVGElement;
|
let root = this.shadowRoot.querySelector("#typicalc-prooftree")! as SVGElement;
|
||||||
while (!root.getAttribute("semantics")) {
|
while (!root.getAttribute("semantics")) {
|
||||||
root = root.parentNode! as SVGElement;
|
root = root.parentNode! as SVGElement;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user