commit 59dec0c066d0821441ed38a837c90e3388589590 parent ed5b1c4cf440df26634cbacde01fb2892031a7db Author: William Casarin <jb55@jb55.com> Date: Tue, 17 Dec 2024 12:20:37 -0800 ui: show cursor when hovering pfp Signed-off-by: William Casarin <jb55@jb55.com> Diffstat:
M | crates/notedeck_columns/src/ui/note/mod.rs | | | 5 | +++++ |
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/crates/notedeck_columns/src/ui/note/mod.rs b/crates/notedeck_columns/src/ui/note/mod.rs @@ -320,6 +320,11 @@ impl<'a> NoteView<'a> { self.img_cache, )); }); + + if resp.hovered() || resp.clicked() { + ui::show_pointer(ui); + } + resp } None => ui