Skip to content

Commit

Permalink
Make sure WOCDisplayMode presentationTransform isn't set on Windows P…
Browse files Browse the repository at this point in the history
…hone devices. This, along with the previous commit should resolve issue #131
  • Loading branch information
bdrlamb-ms committed Sep 9, 2015
1 parent a501ed9 commit b69eb5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Frameworks/WinRT/StarboardWS.mm
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ int UIApplicationMainStart(int argc,

// Setup default landscape presentation transform on desktop only,
// based on the declared default application orientations
#if WINAPI_FAMILY==WINAPI_FAMILY_APP
#if WINAPI_FAMILY!=WINAPI_FAMILY_PHONE_APP
if ( defaultOrientation == UIInterfaceOrientationLandscapeLeft ||
defaultOrientation == UIInterfaceOrientationLandscapeRight ) {
displayMode.presentationTransform = defaultOrientation;
Expand Down

1 comment on commit b69eb5d

@Alx06
Copy link

@Alx06 Alx06 commented on b69eb5d Sep 13, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Working fine now, thanks!

Please sign in to comment.