fix: miss tap offset option

This commit is contained in:
lilong.129
2025-08-13 22:15:01 +08:00
parent 81c50693b9
commit 18de536dc0
4 changed files with 93 additions and 10 deletions
+1 -1
View File
@@ -301,7 +301,7 @@ func extractActionOptionsToArguments(actionOptions []option.ActionOption, argume
// Add tap/swipe offset options
if len(tempOptions.TapOffset) == 2 {
arguments["tap_offset"] = tempOptions.TapOffset
arguments["offset"] = tempOptions.TapOffset
}
if len(tempOptions.SwipeOffset) == 4 {
arguments["swipe_offset"] = tempOptions.SwipeOffset