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

Canvas renderer doesn't properly set background #128

Closed
tschaub opened this issue Jan 17, 2013 · 2 comments
Closed

Canvas renderer doesn't properly set background #128

tschaub opened this issue Jan 17, 2013 · 2 comments

Comments

@tschaub
Copy link
Member

tschaub commented Jan 17, 2013

When you zoom/pan with the canvas renderer, this means you see artifacts from the previously rendered frame (see 54327fb#L3R134).

@tschaub
Copy link
Member Author

tschaub commented Jan 17, 2013

With b36eab1, the rect is correctly transformed. The background is still the wrong color (black by default) because frameState.backgroundColor is (1, 1, 1, 1) instead of (255, 255, 255, 255). The docs say these values should range from 0-255. Need to see where the issue is.

Very cool canvas renderer @twpayne!

@twpayne
Copy link
Contributor

twpayne commented Jan 17, 2013

Thanks! Well spotted @tschaub!

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