nav: nav to accounts view for actions that require key

Fixes: https://github.com/damus-io/notedeck/issues/936
Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2025-07-10 16:16:10 -07:00
parent 605f6f4711
commit 26d027f03e
5 changed files with 42 additions and 48 deletions

View File

@@ -60,8 +60,8 @@ impl AnimationHelper {
}
}
pub fn no_animation(ui: &mut egui::Ui, size: egui::Vec2) -> Self {
let (rect, response) = ui.allocate_exact_size(size, Sense::hover());
pub fn no_animation(ui: &mut egui::Ui, size: egui::Vec2, sense: Sense) -> Self {
let (rect, response) = ui.allocate_exact_size(size, sense);
Self {
rect,