Handle the onOpenScope signal in "tempScopeItem" (ScopesOverview.qml) as is done with "scopeItem" (Dash.qml)
commitd4d72c247618101b7f145dd04851a666dc82b630
authorMarcus Tomlinson <marcus.tomlinson@canonical.com>
dateTue 19 Aug 2014, 11:19 (12 years ago)
parentd546260
qml/Dash/ScopesOverview.qml+7
@@ -535,6 +535,13 @@ Item {
535535 scopesOverviewXYScaler.opacity = 0;
536536 middleItems.overrideOpacity = -1;
537537 }
538+ Connections {
539+ target: tempScopeItem.scope
540+ onOpenScope: {
541+ // TODO Animate the newly opened scope into the foreground (stacked on top of the current scope)
542+ tempScopeItem.scope = scope;
543+ }
544+ }
538545 }
539546 }
540547}