~nick-dedekind/unity8/indicator-color-fixes

« back to all changes in this revision

Viewing changes to qml/Stages/PhoneStage.qml

  • Committer: Nick Dedekind
  • Date: 2016-02-29 14:24:55 UTC
  • mfrom: (2143.1.65 unity8)
  • Revision ID: nick.dedekind@canonical.com-20160229142455-ol76uyr8pin7l5r6
merged with trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Copyright (C) 2014-2015 Canonical, Ltd.
 
2
 * Copyright (C) 2014-2016 Canonical, Ltd.
3
3
 *
4
4
 * This program is free software; you can redistribute it and/or modify
5
5
 * it under the terms of the GNU General Public License as published by
83
83
                               && !(priv.focusedAppDelegate && priv.focusedAppDelegate.xBehavior.running)
84
84
                               && spreadView.phase === 0
85
85
 
 
86
    supportedOrientations: mainApp ? mainApp.supportedOrientations
 
87
                                   : (Qt.PortraitOrientation | Qt.LandscapeOrientation
 
88
                                      | Qt.InvertedPortraitOrientation | Qt.InvertedLandscapeOrientation)
 
89
 
86
90
    // How far left the stage has been dragged
87
91
    readonly property real dragProgress: spreadRepeater.count > 0 ? -spreadRepeater.itemAt(0).xTranslate : 0
88
92