change: update DataOptions

This commit is contained in:
xucong.053
2022-10-17 13:45:00 +08:00
parent 2df2792fe4
commit 0e248882b1
10 changed files with 159 additions and 184 deletions

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,
WithPressDurationOption(pressForDuration[0]))
WithDataPressDuration(pressForDuration[0]))
}