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 ZoomFunction to use FunctionUtil #647

Merged
merged 2 commits into from
Sep 3, 2019

Conversation

Merudo
Copy link
Member

@Merudo Merudo commented Sep 2, 2019

  • Change getZoom, setZoom, getViewArea, setViewArea, and getViewCenter to use FunctionUtil
  • Fix functions getZoom and setViewArea not displaying errors when given too many parameters
  • Fix javadocs errors
  • Remove extra delimiter at the end of getViewCenter
  • Close Issues with ZoomFunction #649

This change is Reviewable

- Add parameter allowString: if set to false, raises exception when parameter is a string that could be converted to number( ex: "0", "5", etc).
- Functions getZoom, setZoom, getViewArea, setViewArea, and getViewCenter now use FunctionUtil
- Fix functions getZoom and setViewArea not displaying errors when given too many parameters
- Fix javadocs errors
- Remove extra delimiter at the end of getViewCenter
@Phergus
Copy link
Contributor

Phergus commented Sep 2, 2019

This isn't part of 613 as written. Issue 613 was for consolidation which appears to be complete.

Open another issue for migrating function classes to use the new FunctionUtil methods and document what macro functions/classes have been updated.

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 3 of 3 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@Phergus Phergus merged commit 8d51993 into RPTools:develop Sep 3, 2019
@Merudo Merudo deleted the FunctionUtil2 branch September 3, 2019 04:34
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