File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1915
1915
1916
1916
HTMLgetScale : function ( ) {
1917
1917
if ( this . scale ) { return this . scale * this . mscale }
1918
- var scale = 1 , values = this . getValues ( "mathsize" , "scriptlevel" , "fontsize" ) ;
1918
+ var scale = 1 , values = this . getValues ( "scriptlevel" , "fontsize" ) ;
1919
+ values . mathsize = ( this . isToken ? this : this . Parent ( ) ) . Get ( "mathsize" ) ;
1919
1920
if ( this . style ) {
1920
1921
var span = this . HTMLspanElement ( ) ;
1921
1922
if ( span . style . fontSize != "" ) { values . fontsize = span . style . fontSize }
Original file line number Diff line number Diff line change 1290
1290
if ( this . mscale ) {
1291
1291
scale = this . scale ;
1292
1292
} else {
1293
- var values = this . getValues ( "mathsize" , "scriptlevel" , "fontsize" ) ;
1293
+ var values = this . getValues ( "scriptlevel" , "fontsize" ) ;
1294
+ values . mathsize = ( this . isToken ? this : this . Parent ( ) ) . Get ( "mathsize" ) ;
1294
1295
if ( ( this . styles || { } ) . fontSize && ! values . fontsize ) { values . fontsize = this . styles . fontSize }
1295
1296
if ( values . fontsize && ! this . mathsize ) { values . mathsize = values . fontsize }
1296
1297
if ( values . scriptlevel !== 0 ) {
You can’t perform that action at this time.
0 commit comments