Skip to content

Conversation

@amuuu
Copy link

@amuuu amuuu commented Sep 29, 2021

Window's UI that wanted to constantly be updated in OnGUI, used to be glitchy. It was caused by the code inside EnforceWindowSize. Using the position.Set() instead of copying position into a var and changing values of the var and rewriting it back to position, fixed this problem. Maybe it's because of sth internal in newer Unity editor versions.

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