consider also the slide out timer for masking

pull/1/head
Michail Vourlakos 8 years ago
parent bb65360f41
commit 9b9363b734

@ -143,7 +143,7 @@ Item{
tempThickness = windowSystem.compositingActive ? thicknessMidOriginal : thicknessNormalOriginal;
}
if (dock.visibility.isHidden) {
if (dock.visibility.isHidden && !slidingAnimationAutoHiddenOut.running ) {
tempThickness = windowSystem.compositingActive ? thicknessAutoHidden : thicknessNormalOriginal;
}
@ -197,7 +197,7 @@ Item{
tempThickness = root.editMode ? editModeThickness : thicknessNormalOriginal;
if (dock.visibility.isHidden) {
if (dock.visibility.isHidden && !slidingAnimationAutoHiddenOut.running ) {
tempThickness = windowSystem.compositingActive ? thicknessAutoHidden : thicknessNormalOriginal;
} else if (root.animationsNeedThickness > 0) {
tempThickness = thicknessMidOriginal;
@ -210,7 +210,7 @@ Item{
localY = dock.height - tempThickness;
} else{
//use all thickness space
if (dock.visibility.isHidden) {
if (dock.visibility.isHidden && !slidingAnimationAutoHiddenOut.running ) {
tempThickness = windowSystem.compositingActive ? thicknessAutoHidden : thicknessNormalOriginal;
} else {
tempThickness = thicknessZoomOriginal;
@ -318,14 +318,9 @@ Item{
easing.type: Easing.OutQuad
}
ScriptAction{
script: updateMaskArea();
}
/*onStopped: {
dock.visibility.isHidden = true;
onStopped: {
updateMaskArea();
}*/
}
function init() {
if (!dock.visibility.blockHiding)

Loading…
Cancel
Save