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

Mockup overlay freezes when changing around different mockups and Game view size #10

Closed
5argon opened this issue May 24, 2019 · 1 comment

Comments

@5argon
Copy link
Owner

5argon commented May 24, 2019

Not sure what is going on but to fix it I have to reload the scene..

@06Games
Copy link
Contributor

06Games commented May 26, 2019

It seems to be a bug of the editor.
The solution I found to solve this problem is to disable and enable the image component.

For this, I added these 2 lines in the SetMockupSprite function of MockupCanvas.cs after applying the sprite:

mockupImage.enabled = false;
mockupImage.enabled = true;

So yes, it's not very clean but it works...

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