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

what's the reason reset designResolution in CreatorReader, confused sometimes #159

Open
drelaptop opened this issue Apr 2, 2018 · 0 comments

Comments

@drelaptop
Copy link
Contributor

For example, we usually set ResolutionSize in AppDelegate.cpp

// Set the design resolution
    glview->setDesignResolutionSize(designResolutionSize.width, designResolutionSize.height, ResolutionPolicy::FIXED_HEIGHT);

but in the creator CreatorReader::setup(), it may set

else if (fitWidth)
        glview->setDesignResolutionSize(designResolution->w(), designResolution->h(), ResolutionPolicy::FIXED_WIDTH);

In one game set ResolutionSize twice, confused. is it possible to improve it?

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

1 participant