From 778487d25a79721539cea1e47331e3c2f985c8cc Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Wed, 6 Aug 2025 18:02:44 +0200 Subject: rework hover detection --- go/ui/widget.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'go/ui/widget.go') diff --git a/go/ui/widget.go b/go/ui/widget.go index 4082c828..f9451a33 100644 --- a/go/ui/widget.go +++ b/go/ui/widget.go @@ -12,8 +12,8 @@ type Widget interface { IsClickable() bool Click(int, int) - // IsHoverable() bool - // Hover(int, int) + IsHoverable() bool + Hover(bool, int, int) IsScrollable() bool Scroll(int, int) IsUpdatable() bool -- cgit v1.2.3