summaryrefslogtreecommitdiff
path: root/docs/samples
diff options
context:
space:
mode:
authorRasmus Andersson <rasmus@notion.se>2018-02-20 12:42:59 +0300
committerRasmus Andersson <rasmus@notion.se>2018-02-20 12:42:59 +0300
commit7e1543cc0b5be8cd2269da05cc918f552fdb9748 (patch)
treeaddafd0afbce027759809de3046b9fa62e6524ac /docs/samples
parent9f367901ef4e6df00eb786ac99fcdc21ed5e69f0 (diff)
downloadinter-7e1543cc0b5be8cd2269da05cc918f552fdb9748.tar.xz
adjust abc constants of dynamic metrics for samples page
Diffstat (limited to 'docs/samples')
-rw-r--r--docs/samples/index.html6
1 files changed, 2 insertions, 4 deletions
diff --git a/docs/samples/index.html b/docs/samples/index.html
index a56b6aa60..69ed90095 100644
--- a/docs/samples/index.html
+++ b/docs/samples/index.html
@@ -164,11 +164,9 @@ hills.
// InterUIDynamicTracking produces tracking in EM for the given font size
//
function InterUIDynamicTracking(fontSize, weightClass) {
- // if (!weightClass) { -- currently unused
- // weightClass = 400
- // }
+ // Note: weightClass is currently unused
//
- var a = -0.0149, b = 0.298, c = -0.23;
+ var a = -0.016, b = 0.21, c = -0.18;
return a + b * Math.pow(Math.E, (c * fontSize))
}