diff options
author | Scott Jackson <daneren2005@gmail.com> | 2013-06-19 21:19:37 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2013-06-19 21:19:37 -0700 |
commit | 36662f56d577883921aa544ce451ec8dc9d0ce90 (patch) | |
tree | 1ed23baac3935cf4779ad3f86f52671889d25d22 /subsonic-android/src/github | |
parent | 69e5a58dae101bdadf5eaa791ca02621767d430a (diff) | |
download | dsub-36662f56d577883921aa544ce451ec8dc9d0ce90.tar.gz dsub-36662f56d577883921aa544ce451ec8dc9d0ce90.tar.bz2 dsub-36662f56d577883921aa544ce451ec8dc9d0ce90.zip |
Only scrollToCurrent when opening up screen
Diffstat (limited to 'subsonic-android/src/github')
-rw-r--r-- | subsonic-android/src/github/daneren2005/dsub/fragments/DownloadFragment.java | 2 |
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);
|