This particular value can go to zero when the document height and the window height are exactly the same value. This causes a NaN which causes the "current" heading nav bug to not update properly. This clamps the value to 1 to avoid that. |
||
|---|---|---|
| .. | ||
| mdbook-compare | ||
| mdbook-core | ||
| mdbook-driver | ||
| mdbook-html | ||
| mdbook-markdown | ||
| mdbook-preprocessor | ||
| mdbook-renderer | ||
| mdbook-summary | ||
| xtask | ||