Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(api): specify v_offset in transfer touch_tip #4602

Merged
merged 1 commit into from
Dec 13, 2019

Conversation

sfoster1
Copy link
Member

When transfers emit a touch_tip in v1, they just pass the keyword arg value as
the first positional parameter. It is, however, a number, and interpreted as a
voffset by touch_tip; but it also emits a warning, which you can see if you're
simulating. Just pass it as the v_offset keyword arg.

No behavior change other than the warning going away is expected here.

Closes #3703

overview

changelog

review requests

When transfers emit a touch_tip in v1, they just pass the keyword arg value as
the first positional parameter. It is, however, a number, and interpreted as a
voffset by touch_tip; but it also emits a warning, which you can see if you're
simulating. Just pass it as the v_offset keyword arg.

No behavior change other than the warning going away is expected here.

Closes #3703
@sfoster1 sfoster1 added api Affects the `api` project fix PR fixes a bug labels Dec 13, 2019
@sfoster1 sfoster1 requested a review from a team December 13, 2019 16:34
Copy link
Contributor

@Laura-Danielle Laura-Danielle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested locally and no warning appeared. LGTM as far as I can tell.

@sfoster1 sfoster1 changed the title fix(api): apiv1: specify v_offset in transfer touch_tip fix(api): specify v_offset in transfer touch_tip Dec 13, 2019
@sfoster1 sfoster1 merged commit 5605c37 into edge Dec 13, 2019
@sfoster1 sfoster1 deleted the api_v1-transfer-touchtip-voffset branch December 13, 2019 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Affects the `api` project fix PR fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Potential bug: v_offset expected for touch_tip during transfer but cannot be set
2 participants