|
|
@ -91,7 +91,7 @@ Item{
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
function slotMustBeShown() {
|
|
|
|
function slotMustBeShown() {
|
|
|
|
console.log("show...");
|
|
|
|
// console.log("show...");
|
|
|
|
slidingAnimationAutoHiddenIn.init();
|
|
|
|
slidingAnimationAutoHiddenIn.init();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -100,7 +100,7 @@ Item{
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
function slotMustBeHide() {
|
|
|
|
function slotMustBeHide() {
|
|
|
|
console.log("hide....");
|
|
|
|
// console.log("hide....");
|
|
|
|
slidingAnimationAutoHiddenOut.init();
|
|
|
|
slidingAnimationAutoHiddenOut.init();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -125,7 +125,7 @@ Item{
|
|
|
|
&& (!mainLayout.animatedLength)
|
|
|
|
&& (!mainLayout.animatedLength)
|
|
|
|
|
|
|
|
|
|
|
|
// debug maskArea criteria
|
|
|
|
// debug maskArea criteria
|
|
|
|
// console.log(root.nowDockHoveredIndex + ", " + layoutsContainer.hoveredIndex + ", "
|
|
|
|
//console.log(root.nowDockHoveredIndex + ", " + layoutsContainer.hoveredIndex + ", "
|
|
|
|
// + root.appletsAnimations+ ", "
|
|
|
|
// + root.appletsAnimations+ ", "
|
|
|
|
// + root.animationsNeedBothAxis + ", " + root.animationsNeedLength + ", " + root.animationsNeedThickness +", "
|
|
|
|
// + root.animationsNeedBothAxis + ", " + root.animationsNeedLength + ", " + root.animationsNeedThickness +", "
|
|
|
|
// + mainLayout.animatedLength);
|
|
|
|
// + mainLayout.animatedLength);
|
|
|
@ -136,6 +136,7 @@ Item{
|
|
|
|
var space = root.panelEdgeSpacing + 10;
|
|
|
|
var space = root.panelEdgeSpacing + 10;
|
|
|
|
|
|
|
|
|
|
|
|
if (normalState && plasmoid.immutable) {
|
|
|
|
if (normalState && plasmoid.immutable) {
|
|
|
|
|
|
|
|
//console.log("entered normal state...");
|
|
|
|
//count panel length
|
|
|
|
//count panel length
|
|
|
|
if(root.isHorizontal) {
|
|
|
|
if(root.isHorizontal) {
|
|
|
|
tempLength = plasmoid.configuration.panelPosition === Latte.Dock.Double ? layoutsContainer.width + 0.5*space : mainLayout.width + space;
|
|
|
|
tempLength = plasmoid.configuration.panelPosition === Latte.Dock.Double ? layoutsContainer.width + 0.5*space : mainLayout.width + space;
|
|
|
@ -194,7 +195,8 @@ Item{
|
|
|
|
tempLength = Screen.height; //screenGeometry.height;
|
|
|
|
tempLength = Screen.height; //screenGeometry.height;
|
|
|
|
|
|
|
|
|
|
|
|
//grow only on length and not thickness
|
|
|
|
//grow only on length and not thickness
|
|
|
|
if(mainLayout.animatedLength || !plasmoid.immutable) {
|
|
|
|
if(mainLayout.animatedLength || !plasmoid.immutable
|
|
|
|
|
|
|
|
|| (root.animationsNeedLength>0 && root.animationsNeedBothAxis === 0)) {
|
|
|
|
tempThickness = thicknessNormalOriginal;
|
|
|
|
tempThickness = thicknessNormalOriginal;
|
|
|
|
|
|
|
|
|
|
|
|
if (root.animationsNeedThickness > 0) {
|
|
|
|
if (root.animationsNeedThickness > 0) {
|
|
|
|