on xenial help sign in
dim less when folding
commit57a3ca204d6f63746d31f90ada3ff140034a5ef9 authorMichael Zanetti <michael.zanetti@canonical.com> dateWed 21 Aug 2013, 16:47 (13 years ago) parentc6e6476
1 file changed+8−8
Launcher/FoldingLauncherDelegate.qml+8−8
Launcher/FoldingLauncherDelegate.qml+8−8
@@ -97,26 +97,26 @@ LauncherDelegate {
9797 // First/last items are special
9898 if (index == 0 || index == priv.listView.count-1) {
9999
100− // Traversed one foldingAreaHeight. Stop at 0.5
100+ // Traversed one foldingAreaHeight. Stop at 0.3
101101 if (priv.distanceFromEdge < -priv.foldingAreaHeight) {
102− return -0.5
102+ return -0.3
103103 }
104104
105− // We started moving, fade to 0.5
105+ // We started moving, fade to 0.3
106106 if (priv.distanceFromEdge < 0) {
107− return -0.5 * (-priv.distanceFromEdge / (priv.foldingAreaHeight))
107+ return -0.3 * (-priv.distanceFromEdge / (priv.foldingAreaHeight))
108108 }
109109 return 0;
110110 }
111111
112− // We stopped folding? Stop brightness change at 0.5
112+ // We stopped folding? Stop brightness change at 0.3
113113 if (priv.overlapWithFoldedArea > 0) {
114− return -0.5;
114+ return -0.3;
115115 }
116116
117− // We are overlapping with the folding area, fade out to 0.5
117+ // We are overlapping with the folding area, fade out to 0.3
118118 if (priv.overlapWithFoldingArea > 0) {
119− return - (priv.overlapWithFoldingArea * 0.5 / priv.listView.foldingStartHeight);
119+ return - (priv.overlapWithFoldingArea * 0.3 / priv.listView.foldingStartHeight);
120120 }
121121 return 0;
122122 }