fix: format

This commit is contained in:
lilong.129
2025-03-04 18:18:24 +08:00
parent 7f837c9e36
commit d50b1f9855
3 changed files with 3 additions and 4 deletions

View File

@@ -129,7 +129,7 @@ func (r *Router) doubleTapHandler(c *gin.Context) {
}
if tapReq.X < 1 && tapReq.Y < 1 {
err = driver.DoubleTap(tapReq.X, tapReq.Y)
err = driver.DoubleTap(tapReq.X, tapReq.Y, option.WithRelative(true))
} else {
err = driver.DoubleTap(tapReq.X, tapReq.Y)
}