io/router: deliver scroll events only to the foremost scroll handler

Signed-off-by: Gordon Klaus <gordon.klaus@gmail.com>
This commit is contained in:
Gordon Klaus
2020-06-03 11:09:19 +02:00
committed by Elias Naur
parent 9d2a6c48d8
commit 33a87ac61c
3 changed files with 50 additions and 0 deletions
+2
View File
@@ -23,6 +23,8 @@ Leave, or Scroll):
Types: pointer.Press | pointer.Move | pointer.Release,
}.Add(ops)
Scroll events are only delivered to the foremost scroll handler.
Cancel events are always delivered.
Areas