We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4cb499 commit a8dbfcdCopy full SHA for a8dbfcd
1 file changed
ts/input/tex/bussproofs/BussproofsUtil.ts
@@ -214,11 +214,8 @@ const getSpaces = function (
214
return result;
215
}
216
if (inf !== rule.parent) {
217
- const children = inf.childNodes;
218
- const index = right ? children.length - 1 : 0;
219
- if (NodeUtil.isType(children[index], 'mspace')) {
220
- result += getBBox(children[index]);
221
- }
+ result +=
+ (inf.getProperty(right ? 'proof-right' : 'proof-left') as number) || 0;
222
inf = rule.parent;
223
224
if (inf === rule) {
0 commit comments