website: lab: fix opsz range max value
This commit is contained in:
parent
675f27e9b8
commit
27b9a1310d
1 changed files with 3 additions and 3 deletions
|
|
@ -77,8 +77,8 @@ if (window.matchMedia('(prefers-color-scheme: dark)').matches) {
|
||||||
|
|
||||||
<label class="label-and-value varfontControl">
|
<label class="label-and-value varfontControl">
|
||||||
<span title="Optical size">opsz:</span>
|
<span title="Optical size">opsz:</span>
|
||||||
<input type="range" value="0" step="0.01" min="16" max="72" name="varOpsz">
|
<input type="range" value="0" step="0.01" min="16" max="32" name="varOpsz">
|
||||||
<input type="number" value="0" step="0.01" min="16" max="72" name="varOpszNum">
|
<input type="number" value="0" step="0.01" min="16" max="32" name="varOpszNum">
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<label class="label-and-value staticfontControl">
|
<label class="label-and-value staticfontControl">
|
||||||
|
|
@ -873,7 +873,7 @@ function main() {
|
||||||
let varState = {
|
let varState = {
|
||||||
weight: 400, // 400..900
|
weight: 400, // 400..900
|
||||||
slant: 0, // 0..-10
|
slant: 0, // 0..-10
|
||||||
opsz: 16, // 16..72
|
opsz: 16, // 16..32
|
||||||
}
|
}
|
||||||
|
|
||||||
function updateVarFont() {
|
function updateVarFont() {
|
||||||
|
|
|
||||||
Reference in a new issue