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
@@ -108,7 +108,7 @@ func TestListPosition(t *testing.T) {
list.Layout(gtx, tc.num, el)
// Generate the scroll events.
r.Frame(gtx.Ops)
r.Add(tc.scroll...)
r.Queue(tc.scroll...)
// Let the list process the events.
list.Layout(gtx, tc.num, el)