slider rendering is correct now!

This commit is contained in:
Michael Zhang 2021-01-13 08:41:35 -06:00
parent a58c77a706
commit a6e2b87805
Signed by: michael
GPG key ID: BDA47A31A3C8EE6B
4 changed files with 4 additions and 3 deletions

2
Cargo.lock generated
View file

@ -1455,7 +1455,7 @@ dependencies = [
[[package]]
name = "libosu"
version = "0.0.16"
source = "git+https://github.com/iptq/libosu?rev=df7ffa4b51328479addde0804930ec76112b3b69#df7ffa4b51328479addde0804930ec76112b3b69"
source = "git+https://github.com/iptq/libosu?rev=0229c52759ffb70322384e53abb0112cb52e49ae#0229c52759ffb70322384e53abb0112cb52e49ae"
dependencies = [
"bitflags",
"derive_more",

View file

@ -26,7 +26,7 @@ image = "0.23.12"
[dependencies.libosu]
git = "https://github.com/iptq/libosu"
rev = "df7ffa4b51328479addde0804930ec76112b3b69"
rev = "0229c52759ffb70322384e53abb0112cb52e49ae"
[features]
clippy = []

2
run.sh
View file

@ -1,4 +1,4 @@
#!/bin/bash
export LD_LIBRARY_PATH=$(pwd)/bass-sys/linux/bass24/x64
echo $LD_LIBRARY_PATH
exec cargo run "$@"
exec cargo run --release "$@"

View file

@ -161,6 +161,7 @@ impl BeatmapExt {
.distance(self.hit_objects[j].inner.pos.to_float().unwrap())
< STACK_DISTANCE
{
println!("stacking:{} offset:{}", self.hit_objects[j].stacking, offset);
self.hit_objects[j].stacking -= offset;
}
}