aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/src/github/daneren2005
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2013-06-19 21:19:37 -0700
committerScott Jackson <daneren2005@gmail.com>2013-06-19 21:19:37 -0700
commit36662f56d577883921aa544ce451ec8dc9d0ce90 (patch)
tree1ed23baac3935cf4779ad3f86f52671889d25d22 /subsonic-android/src/github/daneren2005
parent69e5a58dae101bdadf5eaa791ca02621767d430a (diff)
downloaddsub-36662f56d577883921aa544ce451ec8dc9d0ce90.tar.gz
dsub-36662f56d577883921aa544ce451ec8dc9d0ce90.tar.bz2
dsub-36662f56d577883921aa544ce451ec8dc9d0ce90.zip
Only scrollToCurrent when opening up screen
Diffstat (limited to 'subsonic-android/src/github/daneren2005')
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/fragments/DownloadFragment.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/fragments/DownloadFragment.java b/subsonic-android/src/github/daneren2005/dsub/fragments/DownloadFragment.java
index 5b227f89..19fccfc3 100644
--- a/subsonic-android/src/github/daneren2005/dsub/fragments/DownloadFragment.java
+++ b/subsonic-android/src/github/daneren2005/dsub/fragments/DownloadFragment.java
@@ -837,12 +837,12 @@ public class DownloadFragment extends SubsonicFragment implements OnGestureListe
}
private void toggleFullscreenAlbumArt() {
- scrollToCurrent();
if (playlistFlipper.getDisplayedChild() == 1) {
playlistFlipper.setInAnimation(AnimationUtils.loadAnimation(context, R.anim.push_down_in));
playlistFlipper.setOutAnimation(AnimationUtils.loadAnimation(context, R.anim.push_down_out));
playlistFlipper.setDisplayedChild(0);
} else {
+ scrollToCurrent();
playlistFlipper.setInAnimation(AnimationUtils.loadAnimation(context, R.anim.push_up_in));
playlistFlipper.setOutAnimation(AnimationUtils.loadAnimation(context, R.anim.push_up_out));
playlistFlipper.setDisplayedChild(1);