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

Exposing 'resize' function on renderers #169

Merged
merged 1 commit into from May 4, 2015

Conversation

Projects
None yet
2 participants
@codyebberson
Contributor

codyebberson commented Jan 7, 2015

The existing X.renderer.onResize_ function is only called when the window resizes. If the container is a different element, there was no way to trigger a resize.

This commit adds a X.renderer.resize() function. It does the exact same thing as onResize_(), except that it is now publicly accessible and exported.

haehn pushed a commit that referenced this pull request May 4, 2015

Daniel Haehn
Merge pull request #169 from codyebberson/cody-renderer-resize
Exposing 'resize' function on renderers

@haehn haehn merged commit 2a7f213 into xtk:master May 4, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment