app/internal/window: [WebAssembly] fix touch event handling

Fixes gio#149

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2020-07-26 11:01:30 +02:00
parent 4a9d97784f
commit 3b95e29183
+1 -1
View File
@@ -277,7 +277,7 @@ func (w *window) touchEvent(typ pointer.Type, e js.Value) {
Position: pos,
PointerID: pid,
Time: t,
Modifiers: modifiersFor(e),
Modifiers: mods,
})
}
}