Compare commits

..

No commits in common. "b1e761b26f85eab61c03b030e4b535c0b3e564d5" and "61649e1e0456f4e1d77fe0fedbec2fb63e7d4b5e" have entirely different histories.

3 changed files with 4 additions and 6 deletions

View File

@ -1,6 +1,6 @@
.PHONEY: release
release:
.PHONEY: commit
commit:
bash scripts/update-crate-version.sh
git push
all: release
all: commit

View File

@ -2,4 +2,4 @@
set -e -x
cargo-set-version set-version --bump patch
VERSION="$(awk -F\" '/^version/ {print $2}' server/Cargo.toml)"
git commit Cargo.lock */Cargo.toml -m "Bumping version to ${VERSION:?}"
git commit */Cargo.toml -m "Bumping version to ${VERSION:?}"

View File

@ -62,8 +62,6 @@ fn compute_scroll_ratio() -> Msg {
// the tags at the end on mobile/tablet).
let body = document().body().expect("body");
let sh = body.scroll_height() as f64;
// HACK: don't report percent until a fixed amount of scrolling has happened
let sh = if sh < 400. { 0. } else { sh };
let window = window();
let ih = window
.inner_height()