You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 16, 2021. It is now read-only.
I'm seeing an issue where a camera's size is being reset after an onwindowsized event on mobile. On a home-button press (a suspend, basically) the camera's size and center are being reset, which is a bit of a problem. Adding a guard and a check after the if(!_connected) check in Camera.hx:set_size (L193) seems to fix the problem, but I'm not sure if it's the best way to do things. Here's my guard:
Sorry for the delay, can you elaborate on what what being reset means? The way the size mode works is that you give up some aspects in order to have the sizing handled for you, so I'm not sure I understand the bug symptom as described. If you had a test case that demonstrates it that would be even better, but screenshots/descriptions are good too.
ok after more direct discussion, the real issue is that position isn't handled well by the wip size modes. Meaning, if you set pos to a new value, and a resize happens, the center point is adjusted which resets your adjusted position.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm seeing an issue where a camera's size is being reset after an onwindowsized event on mobile. On a home-button press (a suspend, basically) the camera's size and center are being reset, which is a bit of a problem. Adding a guard and a check after the
if(!_connected)
check in Camera.hx:set_size (L193) seems to fix the problem, but I'm not sure if it's the best way to do things. Here's my guard:Thoughts?
The text was updated successfully, but these errors were encountered: