From 11274ac4df56ae12a4998c12e83fd2c184588a63 Mon Sep 17 00:00:00 2001 From: William Casarin Date: Wed, 18 Dec 2024 13:04:09 -0800 Subject: [PATCH] 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 --- Cargo.lock | 3 +-- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 949abbb1..133136c5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -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", diff --git a/Cargo.toml b/Cargo.toml index 20ced12d..122c6897 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"