Skip to content

Commit 852c8f1

Browse files
committed
Make fix requested by review (but forgot to do it before merging)
1 parent 7f08013 commit 852c8f1

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

ts/input/tex/base/BaseMethods.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1965,12 +1965,8 @@ const BaseMethods: { [key: string]: ParseMethod } = {
19651965
// @test Subarray, Small Matrix
19661966
array.arraydef['displaystyle'] = false;
19671967
}
1968-
if (style === 'S') {
1969-
// @test Subarray, Small Matrix
1970-
array.arraydef['scriptlevel'] = 1;
1971-
} else {
1972-
array.arraydef['scriptlevel'] = 0;
1973-
}
1968+
// @test Subarray, Small Matrix
1969+
array.arraydef['scriptlevel'] = style === 'S' ? 1 : 0;
19741970
if (raggedHeight) {
19751971
// @test Subarray, Small Matrix
19761972
array.arraydef['useHeight'] = false;

0 commit comments

Comments
 (0)