fix #468,lock parabolic animation !editMode

--lock properly the parabolic animation for Tasks
plasmoid when the user right clicks the plasmoid
pull/1/head
Michail Vourlakos 8 years ago
parent 3e809b8ea9
commit 7c51065fcb

@ -57,7 +57,7 @@ Item {
property bool globalDirectRender: latteDock ? latteDock.globalDirectRender : icList.directRender
property bool directRenderTimerIsRunning: latteDock ? latteDock.directRenderTimerIsRunning : enableDirectRenderTimer.running
property bool editMode: plasmoid.userConfiguring
property bool editMode: latteDock ? latteDock.editMode : plasmoid.userConfiguring
property bool disableRestoreZoom: false //blocks restore animation in rightClick
property bool dropNewLauncher: false
property bool hasInternalSeparator: false

@ -373,6 +373,9 @@ MouseArea{
///////////////// Mouse Area Events ///////////////////
onEntered: {
if (root.editMode)
return;
if ((icList.hoveredIndex !== itemIndex) && isLauncher && windowsPreviewDlg.visible) {
windowsPreviewDlg.hide(1);
}
@ -419,6 +422,9 @@ MouseArea{
}
onPositionChanged: {
if (root.editMode)
return;
if(!root.latteDock)
checkListHovered.stop();

Loading…
Cancel
Save