File tree 1 file changed +4
-0
lines changed
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -348,6 +348,8 @@ function pushPage(key) {
348
348
websiteData . weight = 400
349
349
document . querySelector ( "body" ) . style . fontVariationSettings = `"wght" 400`
350
350
document . forms [ "weight_form" ] [ `weight_${ websiteData . weight } ` ] . checked = true
351
+ document . forms [ "letter_spacing_form" ] [ `letter_spacing_${ websiteData . letterSpacing } ` ] . checked = true
352
+ document . forms [ "line_height_form" ] [ `line_height_${ websiteData . lineHeight } ` ] . checked = true
351
353
codeExample . style . fontFamily = "CommitMono"
352
354
document . querySelector ( "#font_name" ) . value = ""
353
355
document . querySelector ( "#font_name + p" ) . textContent = ""
@@ -357,6 +359,8 @@ function pushPage(key) {
357
359
if ( typeof updateWaterfall === "function" ) updateWaterfall ( )
358
360
if ( typeof buildExample === "function" ) buildExample ( )
359
361
if ( typeof updateWeight === "function" ) updateWeight ( null , weightForm )
362
+ if ( typeof updateLetterSpacing === "function" ) updateLetterSpacing ( null , letterSpacingForm )
363
+ if ( typeof updateLineHeight === "function" ) updateLineHeight ( null , lineHeightForm )
360
364
}
361
365
}
362
366
You can’t perform that action at this time.
0 commit comments