Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

Commit

Permalink
Use absolute coordinates for 'swipe'
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgraham committed Jun 11, 2018
1 parent afc2c0b commit b54881e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
## [1.6.2](https://github.com/appium/appium-desktop/compare/v1.6.2...v1.6.1) (2018-06-07)
## [1.6.2](https://github.com/appium/appium-desktop/compare/v1.6.2...v1.6.1) (2018-06-08)

### Changes
* Feature: Upgrade to Appium 1.8.1
* Fix: Use absolute coordinates for 'swipe'

## [1.6.1](https://github.com/appium/appium-desktop/compare/v1.6.1...v1.5.0) (2018-05-08)

Expand Down
2 changes: 1 addition & 1 deletion app/renderer/components/Inspector/HighlighterRects.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export default class HighlighterRects extends Component {
const {swipeStart, swipeEnd, clearSwipeAction, applyClientMethod} = this.props;
await applyClientMethod({
methodName: 'swipe',
args: [swipeStart.x, swipeStart.y, swipeEnd.x - swipeStart.x, swipeEnd.y - swipeStart.y],
args: [swipeStart.x, swipeStart.y, swipeEnd.x, swipeEnd.y],
});
clearSwipeAction();
}
Expand Down
2 changes: 1 addition & 1 deletion app/renderer/components/Inspector/Screenshot.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export default class Screenshot extends Component {
const {swipeStart, swipeEnd, clearSwipeAction, applyClientMethod} = this.props;
await applyClientMethod({
methodName: 'swipe',
args: [swipeStart.x, swipeStart.y, swipeEnd.x - swipeStart.x, swipeEnd.y - swipeStart.y],
args: [swipeStart.x, swipeStart.y, swipeEnd.x, swipeEnd.y],
});
clearSwipeAction();
}
Expand Down

0 comments on commit b54881e

Please sign in to comment.