io/pointer: fix godoc reference to renamed type

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
This commit is contained in:
Chris Waldon
2023-11-30 08:58:40 -05:00
parent f39245df99
commit 6f99155db6
+2 -2
View File
@@ -8,7 +8,7 @@ object such as a finger.
The InputOp operation is used to declare a handler ready for pointer
events. Use an event.Queue to receive events.
# Types
# Kinds
Only events that match a specified list of types are delivered to a handler.
@@ -20,7 +20,7 @@ Leave, or Scroll):
pointer.InputOp{
Tag: h,
Types: pointer.Press | pointer.Drag | pointer.Release,
Kinds: pointer.Press | pointer.Drag | pointer.Release,
}.Add(ops)
Cancel events are always delivered.