enable block hiding in some cases

--more specific on user configuring and
on dragging a task
pull/1/head
Michail Vourlakos 8 years ago
parent 45c9710ed0
commit d0f4c80ab2

@ -102,9 +102,9 @@ Item{
function slotMustBeHide() {
// console.log("hide....");
if (!plasmoid.userConfiguring) {
slidingAnimationAutoHiddenOut.init();
}
//if (!plasmoid.userConfiguring) {
slidingAnimationAutoHiddenOut.init();
//}
}
function slotModeChanged() {

@ -551,6 +551,8 @@ DragDrop.DropArea {
}
if (plasmoid.userConfiguring) {
dock.visibility.blockHiding = true;
// console.log("applets------");
for (var i = 0; i < plasmoid.applets.length; ++i) {
// console.log("applet:"+i);
@ -569,6 +571,8 @@ DragDrop.DropArea {
dragOverlay.visible = true;
}
} else {
dock.visibility.blockHiding = false;
if (dragOverlay) {
dragOverlay.visible = false;
dragOverlay.destroy();
@ -864,7 +868,7 @@ DragDrop.DropArea {
}
function slotDisableHiding(value) {
// dock.visibility.disableHiding = value;
dock.visibility.blockHiding = value;
}
function updateAutomaticIconSize() {

Loading…
Cancel
Save