fixes for abilities

work/spdx
Michail Vourlakos 4 years ago
parent ac890e2a3e
commit 352cb64321

@ -66,8 +66,8 @@ AbilityClient.ParabolicEffect {
}
onCurrentParabolicItemChanged: {
if (!(bridge || bridge.host)) {
if (!currentParabolicItem) {
if (!parabolic.bridge || !parabolic.bridge.host) {
if (!parabolic.currentParabolicItem) {
parabolic.startRestoreZoomTimer();
} else {
parabolic.stopRestoreZoomTimer();
@ -112,7 +112,7 @@ AbilityClient.ParabolicEffect {
if (bridge) {
bridge.parabolic.host.setCurrentParabolicItem(item);
} else {
local._privates.currentParabolicItem = item;
local.currentParabolicItem = item;
}
}

@ -66,7 +66,7 @@ SequentialAnimation{
onPressedChanged: {
if(!running && pressed && !indicators.info.providesClickedAnimation &&
if(!running && pressed && !taskItem.abilities.indicators.info.providesClickedAnimation &&
((taskItem.lastButtonClicked == Qt.LeftButton)||(taskItem.lastButtonClicked == Qt.MidButton)) ){
//taskItem.abilities.animationstarted();
start();

Loading…
Cancel
Save