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

Change copyToken options to tokenHandout, tokenPortrait #816

Merged
merged 1 commit into from
Oct 18, 2019

Conversation

Merudo
Copy link
Member

@Merudo Merudo commented Oct 18, 2019


This change is Reviewable

- Change handoutImage update field to tokenHandout
- Change portraitImage update field to tokenPortrait
- Legacy: old values still work
- Fix null pointer exception to propert error message if the image token cannot be found
- Solve issues raised by @Phergus in RPTools#814
@Phergus
Copy link
Contributor

Phergus commented Oct 18, 2019

No need to make those update condition keyword changes if you want to go ahead and back them out.

@Merudo
Copy link
Member Author

Merudo commented Oct 18, 2019

It would make sense to change them though. Current functions are

getTokenHandout / setTokenHandout
getTokenPortrait / setTokenPortrait

so it would make a lot of sense to use tokenHandout and tokenPortrait for the update instead of handoutImage / portraitImage

@Phergus
Copy link
Contributor

Phergus commented Oct 18, 2019

Well my brain clearly thought so. Since the current ones still work no real harm in leaving them.

Copy link
Contributor

@Phergus Phergus left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 2 of 2 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@Phergus Phergus merged commit 7ce8c73 into RPTools:develop Oct 18, 2019
@Merudo Merudo deleted the copyTokenFix branch October 18, 2019 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants