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

Added windowResized wiring #13

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

Conversation

wmpowell8
Copy link

@wmpowell8 wmpowell8 commented Apr 6, 2022

Fixes the final part of issue #1 using SceneManager's newer, DRYer event handling.

I don't believe SceneManager objects ever had a windowResized method, but if they had, the following code may be added at the end of the SceneManager constructor function:

    
    // Legacy method... preserved for maintaining compatibility
    this.windowResized = function()
    {
        this.handleEvent("windowResized");
    }

Fixes the final part of issue mveteanu#1 using SceneManager's newer, DRYer event handling.

I don't believe SceneManager objects ever had a windowResized method, but if they had, the following code may be added at the end of the SceneManager constructor function:

    
    // Legacy method... preserved for maintaining compatibility
    this.windowResized = function()
    {
        this.handleEvent("windowResized");
    }
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.

1 participant