mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
actually fix activity switching
This commit is contained in:
parent
89fef3ed7b
commit
fa8bec3fd8
1 changed files with 2 additions and 8 deletions
|
|
@ -81,14 +81,14 @@ MouseArea {
|
|||
|
||||
Connections {
|
||||
target: activitiesView
|
||||
onMovementEnded: {return;
|
||||
onMovementEnded: {
|
||||
if (activitiesView.currentIndex == index) {
|
||||
activityModel.setCurrentActivity(model.id, function(){
|
||||
mainDelegate.containment.parent = mainDelegate;
|
||||
});
|
||||
}
|
||||
}
|
||||
onFlickEnded: onMovementEnded()
|
||||
onFlickEnded: activitiesView.movementEnded()
|
||||
}
|
||||
onInViewportChanged: {
|
||||
if (inViewport && !mainDelegate.containment) {
|
||||
|
|
@ -142,12 +142,6 @@ MouseArea {
|
|||
onReleased: {
|
||||
activityModel.setCurrentActivity("395250d4-d44b-4735-8494-4db49beb29dd", function(){});
|
||||
}*/
|
||||
ActivityHandle {
|
||||
mirrored: true
|
||||
}
|
||||
ActivityHandle {
|
||||
mirrored: false
|
||||
}
|
||||
|
||||
function toggleWidgetExplorer(containment) {
|
||||
console.log("Widget Explorer toggled");
|
||||
|
|
|
|||
Loading…
Reference in a new issue