Fix bug: workspace screens not being rendered in spring-loaded mode

Bug # 4024334
This commit is contained in:
Michael Jurka
2011-03-09 14:53:27 -08:00
parent bbaa75c8c4
commit a4b4016bcd
+3 -2
View File
@@ -1181,8 +1181,9 @@ public class Workspace extends SmoothPagedView
final int pageCount = getChildCount();
final long drawingTime = getDrawingTime();
for (int i = 0; i < pageCount; i++) {
final View page = (View) getChildAt(i);
if (page.getVisibility() == VISIBLE && page.getAlpha() != 0f) {
final CellLayout page = (CellLayout) getChildAt(i);
if (page.getVisibility() == VISIBLE
&& (page.getAlpha() != 0f || page.getBackgroundAlpha() != 0f)) {
drawChild(canvas, page, drawingTime);
}
}