Closed mgh closed 8 years ago
@rogueSkib @lunarraid can one of you review? adds one major feature for mobile browser builds and fixes 4 minor issues.
Sorry for the random fixes in there (I could make 5 pulls instead of 1 if that's easier). The commits are all self-contained though, so reviewing each commit is also possible.
I reviewed each commit, looks good to me, Raymond is reviewing too and might add some notes.
On Wed, Dec 9, 2015 at 3:43 AM, Martin Hunt notifications@github.com wrote:
@rogueSkib https://github.com/rogueSkib @lunarraid https://github.com/lunarraid can one of you review? adds one major feature for mobile browser builds and fixes 4 minor issues.
Sorry for the random fixes in there (I could make 5 pulls instead of 1 if that's easier). The commits are all self-contained though, so reviewing each commit is also possible.
— Reply to this email directly or view it on GitHub https://github.com/gameclosure/timestep/pull/84#issuecomment-163198018.
Jimmy Griffith 704.309.2473 Studio Head @ Weeby.co http://www.weeby.co
As far as I can tell, this looks fine. Just remove line 435 in Image.js
and it should be good.
thanks! updated that commit, merging now.
enable scrolling on landscape ios >= 7
Allows scrolling out the address bar when in an iphone mobile browser in the landscape orientation
By default we allow landscape scrolling in iOS 7+, but iOS 7 does not have friendly UX for landscape since tapping anywhere near the top or bottom of the screen will use make the navbar appear. Thus, for many games, it is desirable to leave the navbar open all the time on iOS 7 (even though the viewport will be very small), disabling scrolling completely. To disable scrolling, use
Application._settings.minIOSLandscapeScroll
to set the min version for which landscape scrolling. SetdisableIOSLandscapeScroll
to disable this feature completely.src/Application:
Note that landscape scrolling is only relevant for web builds (iOS mobile safari) on iPhones (or iPods), not iPads and not standalone web browsers (e.g. home screen website or embedded web view).
misc fixes
render()
if the error flag was set