Skip to content
This repository has been archived by the owner on May 26, 2022. It is now read-only.

Update Alloy.Globals.SCREEN_* after orientation change #42

Open
Jei opened this issue Apr 11, 2018 · 0 comments
Open

Update Alloy.Globals.SCREEN_* after orientation change #42

Jei opened this issue Apr 11, 2018 · 0 comments

Comments

@Jei
Copy link
Contributor

Jei commented Apr 11, 2018

We could add a listener to the Titanium.Gesture.orientationchange event to update the constants Alloy.Globals.SCREEN_WIDTH and Alloy.Globals.SCREEN_HEIGHT every time the device changes orientation.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant