change: update function optional parameters to DataOptions

This commit is contained in:
xucong.053
2022-10-17 10:35:26 +08:00
parent c56794d6c1
commit bb7674c960
13 changed files with 149 additions and 150 deletions
+1 -1
View File
@@ -26,5 +26,5 @@ func (dExt *DriverExt) DragOffsetFloat(pathname string, toX, toY, xOffset, yOffs
fromY := y + height*yOffset
return dExt.Driver.DragFloat(fromX, fromY, toX, toY,
WithPressDuration(pressForDuration[0]))
WithPressDurationOption(pressForDuration[0]))
}