~eliasnaur/gio

fd5dfacb404347573ffbb069d5d2419fa0e4f606 — steverusso a month ago e8add40
io/pointer: minor documentation update.

The `image.Rectangle` object should be passed to the `pointer.Rect` function.

Signed-off-by: steverusso <steverusso@protonmail.com>
1 files changed, 1 insertions(+), 1 deletions(-)

M io/pointer/doc.go
M io/pointer/doc.go => io/pointer/doc.go +1 -1
@@ 19,7 19,7 @@ For example, to set up a rectangular hit area:
	var h *Handler = ...

	r := image.Rectangle{...}
	pointer.Rect().Add(ops)
	pointer.Rect(r).Add(ops)
	pointer.InputOp{Key: h}.Add(ops)

Note that areas compound: the effective area of multiple area