mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-06 02:46:57 +00:00
Fixing two regressions in which side pages were not drawn or oriented correctly.
Change-Id: Ib936d7701c8962fc04e6fed2e3d624291fe8fc46
This commit is contained in:
@@ -766,8 +766,8 @@ public abstract class PagedView extends ViewGroup {
|
||||
// View.INVISIBLE, preventing re-drawing of their hardware layer
|
||||
for (int i = getChildCount() - 1; i >= 0; i--) {
|
||||
final View v = getPageAt(i);
|
||||
if (leftScreen <= i && i <= rightScreen &&
|
||||
v.getAlpha() > ViewConfiguration.ALPHA_THRESHOLD) {
|
||||
|
||||
if (leftScreen <= i && i <= rightScreen) {
|
||||
v.setVisibility(VISIBLE);
|
||||
drawChild(canvas, v, drawingTime);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user