~sergiusens/camera-app/manifest_cleanup

« back to all changes in this revision

Viewing changes to camera-app.qml

  • Committer: Guenter Schwann
  • Date: 2013-02-18 17:22:22 UTC
  • mto: This revision was merged to the branch mainline in revision 102.
  • Revision ID: guenter.schwann@canonical.com-20130218172222-56boofgtro9u9kq0
Fix wrong preview orientation on Nexus 10

Show diffs side-by-side

added added

removed removed

Lines of Context:
93
93
           FIXME: This should come from a system configuration option so that we
94
94
           don't have to have a different codebase for each different device we want
95
95
           to run on */
96
 
        orientation: -90
 
96
        orientation: device.naturalOrientation === "portrait"  ? -90 : 0
97
97
 
98
98
        StopWatch {
99
99
            anchors.top: parent.top