io/router: rename Router.Add to the more specific Queue

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2021-01-22 16:36:14 +01:00
parent 24f69bf4bb
commit 4f45d9a567
8 changed files with 35 additions and 35 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ func ExampleClickable_passthrough() {
widget()
r.Frame(gtx.Ops)
// Simulate one click on the buttons by sending a Press and Release event.
r.Add(
r.Queue(
pointer.Event{
Source: pointer.Mouse,
Buttons: pointer.ButtonLeft,