refactor: hrp ui server drag

This commit is contained in:
lilong.129
2024-11-05 16:46:12 +08:00
parent 2bdfe45f1d
commit e279ac0a3a
3 changed files with 29 additions and 13 deletions

View File

@@ -17,11 +17,12 @@ type TapRequest struct {
}
type DragRequest struct {
FromX float64 `json:"from_x"`
FromY float64 `json:"from_y"`
ToX float64 `json:"to_x"`
ToY float64 `json:"to_y"`
Duration float64 `json:"duration"`
FromX float64 `json:"from_x"`
FromY float64 `json:"from_y"`
ToX float64 `json:"to_x"`
ToY float64 `json:"to_y"`
Options *uixt.ActionOptions `json:"options,omitempty"`
}
type InputRequest struct {