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

Update pan and zoom in camera verification #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rogeraleite
Copy link

Verification methods seem not to work. New verification by object type added.
Fixing issue found when using the library in Angular7.

Verification methods seem not to work. New verification by object type added.
Fixing issue found when using the library in Angular7.
Copy link
Contributor

@MichalHe MichalHe left a comment

Choose a reason for hiding this comment

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

Hi,
thanks for pointing this out and fixing it. I would suggest moving the changes into the typeguard functions (_checkOrthographicCamera etc.). This way it is easier to keep the logic behind camera's type determination in one place (allows easier changes) and it also prevents code duplication.
Also it seems that you've changed only the index.js file, which is only the transpiled version of index.ts (actual source).

@rogeraleite
Copy link
Author

Hello MichalHe,

Ok!!
I just created another request with the fix under the two _check methods.

Cheers,
Roger A Leite

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