~nick-dedekind/unity8/lp1475678.surface-occlude

« back to all changes in this revision

Viewing changes to qml/Rotation/RotationStates.qml

  • Committer: Nick Dedekind
  • Date: 2015-10-26 18:33:00 UTC
  • mfrom: (1970.1.49 trunk)
  • Revision ID: nick.dedekind@canonical.com-20151026183300-016y1tnwtrgu0lat
merged with trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
83
83
        }
84
84
 
85
85
        function tryUpdateState() {
86
 
            if (d.transitioning || (!d.startingUp && !root.shell.orientationChangesEnabled)) {
 
86
            if (d.transitioning || (!d.startingUp && !root.orientedShell.orientationChangesEnabled)) {
87
87
                return;
88
88
            }
89
89
 
95
95
        }
96
96
 
97
97
        property Connections shellConnections: Connections {
98
 
            target: root.shell
 
98
            target: root.orientedShell
99
99
            onOrientationChangesEnabledChanged: {
100
100
                d.tryUpdateState();
101
101
            }