feat(verifier): bind doubleTap and decode DoubleTap actions

This commit is contained in:
pj committed 2026-05-30 11:05:50 +05:30
1 parent 237ead2d33
commit 6766f1ad58
3 files changed
+19

No files matched your search

+4
View File
@@ -372,6 +372,10 @@ func jsValueToAction(runtime *goja.Runtime, value goja.Value) (Action, error) {
on := object.Get("on")
x, y := coordinatesOf(runtime, on)
return Action{Kind: ActionKindTap, On: selectorOf(runtime, on), X: x, Y: y}, nil
case "DoubleTap":
on := object.Get("on")
x, y := coordinatesOf(runtime, on)
return Action{Kind: ActionKindDoubleTap, On: selectorOf(runtime, on), X: x, Y: y}, nil
case "InputText":
into := object.Get("into")
text := object.Get("text")