mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 07:35:40 +00:00
all: implement staticcheck suggestions
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -29,8 +29,6 @@ const doubleClickDuration = 200 * time.Millisecond
|
||||
// Click detects click gestures in the form
|
||||
// of ClickEvents.
|
||||
type Click struct {
|
||||
// state tracks the gesture state.
|
||||
state ClickState
|
||||
// clickedAt is the timestamp at which
|
||||
// the last click occurred.
|
||||
clickedAt time.Duration
|
||||
|
||||
Reference in New Issue
Block a user