nav: make back nav faster

Changed the egui-nav spring function so its now so slow near the
end of the aniation.

Fixes: https://github.com/damus-io/notedeck/issues/595
This commit is contained in:
William Casarin
2024-12-18 13:04:09 -08:00
parent f693bb54c1
commit 11274ac4df
2 changed files with 2 additions and 3 deletions

3
Cargo.lock generated
View File

@@ -1135,8 +1135,7 @@ dependencies = [
[[package]]
name = "egui_nav"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cca758d7454588a5d927fd4fcb71cbb1ad21bcda251acd7860b04d91f83bcc4c"
source = "git+https://github.com/damus-io/egui-nav?rev=8a0508e17b02e382c04b4c3f724713a6b7807819#8a0508e17b02e382c04b4c3f724713a6b7807819"
dependencies = [
"egui",
"egui_extras",

View File

@@ -16,7 +16,7 @@ dirs = "5.0.1"
eframe = { version = "0.29.1", default-features = false, features = [ "wgpu", "wayland", "x11", "android-native-activity" ] }
egui = { version = "0.29.1", features = ["serde"] }
egui_extras = { version = "0.29.1", features = ["all_loaders"] }
egui_nav = "0.2.0"
egui_nav = { git = "https://github.com/damus-io/egui-nav", rev = "8a0508e17b02e382c04b4c3f724713a6b7807819" }
egui_tabs = "0.2.0"
egui_virtual_list = "0.5.0"
ehttp = "0.2.0"