diff options
Diffstat (limited to 'src/com/cyanogenmod/trebuchet/Workspace.java')
-rw-r--r-- | src/com/cyanogenmod/trebuchet/Workspace.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/cyanogenmod/trebuchet/Workspace.java b/src/com/cyanogenmod/trebuchet/Workspace.java index 5f163f2d7..41630ce00 100644 --- a/src/com/cyanogenmod/trebuchet/Workspace.java +++ b/src/com/cyanogenmod/trebuchet/Workspace.java @@ -1778,7 +1778,7 @@ public class Workspace extends PagedView float rotation = 0f; float initialAlpha = cl.getAlpha(); float finalAlphaMultiplierValue = 1f; - float finalAlpha = (mFadeInAdjacentScreens || stateIsSpringLoaded || + float finalAlpha = (!mFadeInAdjacentScreens || stateIsSpringLoaded || (i == mCurrentPage)) ? 1f : 0f; // Determine the pages alpha during the state transition @@ -1867,7 +1867,7 @@ public class Workspace extends PagedView // the current page is visible during (and subsequently, after) the transition // animation. If fade adjacent pages is disabled, then re-enable the page // visibility after the transition animation. - if (mFadeInAdjacentScreens && stateIsNormal && oldStateIsSmall) { + if (!mFadeInAdjacentScreens && stateIsNormal && oldStateIsSmall) { for (int i = 0; i < getChildCount(); i++) { final CellLayout cl = (CellLayout) getChildAt(i); cl.setAlpha(1f); |