on xenial help sign in
dim less when folding
57a3ca2Michael Zanetti
Launcher/FoldingLauncherDelegate.qml+8−8
@@ -97,26 +97,26 @@ LauncherDelegate {
97 // First/last items are special
97 // First/last items are special
98 if (index == 0 || index == priv.listView.count-1) {
98 if (index == 0 || index == priv.listView.count-1) {
99
99
100− // Traversed one foldingAreaHeight. Stop at 0.5
100+ // Traversed one foldingAreaHeight. Stop at 0.3
101 if (priv.distanceFromEdge < -priv.foldingAreaHeight) {
101 if (priv.distanceFromEdge < -priv.foldingAreaHeight) {
102− return -0.5
102+ return -0.3
103 }
103 }
104
104
105− // We started moving, fade to 0.5
105+ // We started moving, fade to 0.3
106 if (priv.distanceFromEdge < 0) {
106 if (priv.distanceFromEdge < 0) {
107− return -0.5 * (-priv.distanceFromEdge / (priv.foldingAreaHeight))
107+ return -0.3 * (-priv.distanceFromEdge / (priv.foldingAreaHeight))
108 }
108 }
109 return 0;
109 return 0;
110 }
110 }
111
111
112− // We stopped folding? Stop brightness change at 0.5
112+ // We stopped folding? Stop brightness change at 0.3
113 if (priv.overlapWithFoldedArea > 0) {
113 if (priv.overlapWithFoldedArea > 0) {
114− return -0.5;
114+ return -0.3;
115 }
115 }
116
116
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
118 if (priv.overlapWithFoldingArea > 0) {
118 if (priv.overlapWithFoldingArea > 0) {
119− return - (priv.overlapWithFoldingArea * 0.5 / priv.listView.foldingStartHeight);
119+ return - (priv.overlapWithFoldingArea * 0.3 / priv.listView.foldingStartHeight);
120 }
120 }
121 return 0;
121 return 0;
122 }
122 }