From b8f32f4406a8a23830fafae576bc9217fcc1e32e Mon Sep 17 00:00:00 2001 From: Florens Douwes Date: Wed, 9 Apr 2014 21:51:10 +0200 Subject: [PATCH] No smooth transition from thumbnail to highres. When it moves from a thumbnail to the highres there's an annoying flicker. --- Chan/src/org/floens/chan/ui/view/ThumbnailImageView.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Chan/src/org/floens/chan/ui/view/ThumbnailImageView.java b/Chan/src/org/floens/chan/ui/view/ThumbnailImageView.java index 96f7f7d9..00172da1 100644 --- a/Chan/src/org/floens/chan/ui/view/ThumbnailImageView.java +++ b/Chan/src/org/floens/chan/ui/view/ThumbnailImageView.java @@ -170,6 +170,11 @@ public class ThumbnailImageView extends LoadView implements OnViewTapListener, V })); } + @Override + public void setView(View view, boolean animation) { + super.setView(view, animation && !thumbnailNeeded); + } + public VideoView getVideoView() { return videoView; }