summaryrefslogtreecommitdiff
path: root/docs/samples
diff options
context:
space:
mode:
authorRasmus Andersson <rasmus@notion.se>2018-02-19 11:44:13 +0300
committerRasmus Andersson <rasmus@notion.se>2018-02-19 11:44:13 +0300
commitb49fd69f64f9933461f3db7be196b3f8deeffa22 (patch)
tree3c53db0bfca82b8904fa3cb79007960ae06cf56e /docs/samples
parenta9e87c52d5f0b6ea18a6352a993a7a98a36f4662 (diff)
downloadinter-b49fd69f64f9933461f3db7be196b3f8deeffa22.tar.xz
website update
Diffstat (limited to 'docs/samples')
-rw-r--r--docs/samples/index.html5
1 files changed, 1 insertions, 4 deletions
diff --git a/docs/samples/index.html b/docs/samples/index.html
index bd30c0c6e..aa7a8ce08 100644
--- a/docs/samples/index.html
+++ b/docs/samples/index.html
@@ -453,10 +453,7 @@ bindings.configure('font-size', 18, 'int', function(fontSize, prevval) {
updateWidth()
var letterSpacing = InterUIDynamicTracking(fontSize, 400)
- // if (letterSpacing < 0.001 && letterSpacing > -0.001) {
- // letterSpacing = 0
- // }
- // letterSpacing = parseFloat(letterSpacing.toFixed(3)) // lower precision
+ letterSpacing = parseFloat(letterSpacing.toFixed(3)) // lower precision
var lineHeight = InterUIDynamicLeading(fontSize, 400)
s2.style.lineHeight = lineHeight + 'px'