ui/note: make buttons larger

Changelog-Changed: Make buttons larger
Fixes: https://github.com/damus-io/notedeck/issues/879
Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2025-07-23 11:39:02 -07:00
parent ff0428550b
commit e997f1bf68
2 changed files with 11 additions and 2 deletions

View File

@@ -20,8 +20,13 @@ pub fn hover_expand(
(rect, size, response)
}
#[inline]
pub fn hover_small_size() -> f32 {
14.0
}
pub fn hover_expand_small(ui: &mut egui::Ui, id: egui::Id) -> (egui::Rect, f32, egui::Response) {
let size = 10.0;
let size = hover_small_size();
let expand_size = 5.0;
let anim_speed = 0.05;