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

getDisplayMode() returns null #38

Closed
fxzjshm opened this issue May 13, 2017 · 2 comments
Closed

getDisplayMode() returns null #38

fxzjshm opened this issue May 13, 2017 · 2 comments

Comments

@fxzjshm
Copy link

fxzjshm commented May 13, 2017

In this file DragomeGraphics.java, getDisplayMode() returns null.
This causes some codes to fail, for example I got a TypeError (and I cannot catch it). I think this method should return the size of the <canvas>.
Moreover, other functions should return what it should return instead of null.
Thank you for fixing them.

xpenatan added a commit that referenced this issue May 13, 2017
@xpenatan
Copy link
Owner

I've added this method. If there is any other method you need I'll try to port from gwt or create it if its possible.

@fxzjshm
Copy link
Author

fxzjshm commented May 15, 2017

OK, thank you very much! I'll test it later this week.

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

No branches or pull requests

2 participants