~saviq/unity8/card-visual-tweaks

« back to all changes in this revision

Viewing changes to qml/Dash/ScopesOverview.qml

  • Committer: CI bot
  • Author(s): Marcus Tomlinson
  • Date: 2014-08-27 15:36:18 UTC
  • mfrom: (1179.2.5 trunk)
  • Revision ID: ps-jenkins@lists.canonical.com-20140827153618-0znijaqyyzpdmvcw
Handle the openScope signal in "tempScopeItem" (ScopesOverview.qml) as is done with "scopeItem" (Dash.qml) Fixes: 1356410
Approved by: PS Jenkins bot, Albert Astals Cid

Show diffs side-by-side

added added

removed removed

Lines of Context:
543
543
                scopesOverviewXYScaler.opacity = 0;
544
544
                middleItems.overrideOpacity = -1;
545
545
            }
 
546
            // TODO Add tests for these connections
 
547
            Connections {
 
548
                target: tempScopeItem.scope
 
549
                onOpenScope: {
 
550
                    // TODO Animate the newly opened scope into the foreground (stacked on top of the current scope)
 
551
                    tempScopeItem.scope = scope;
 
552
                }
 
553
                onGotoScope: {
 
554
                    tempScopeItem.backClicked();
 
555
                    root.currentTab = 0;
 
556
                    root.scope.gotoScope(scopeId);
 
557
                }
 
558
            }
546
559
        }
547
560
    }
548
561
}