refactor: fix all unused parameter / variable warnings

This commit is contained in:
5684185+vsariola@users.noreply.github.com
2025-06-21 10:33:08 +03:00
parent a601b98b74
commit 289bfb0605
5 changed files with 13 additions and 15 deletions

View File

@ -206,7 +206,7 @@ func (b *Clickable) Update(gtx layout.Context) (widget.Click, bool) {
return b.update(b, gtx)
}
func (b *Clickable) update(t event.Tag, gtx layout.Context) (widget.Click, bool) {
func (b *Clickable) update(_ event.Tag, gtx layout.Context) (widget.Click, bool) {
for len(b.history) > 0 {
c := b.history[0]
if c.End.IsZero() || gtx.Now.Sub(c.End) < 1*time.Second {