Minor changes

This commit is contained in:
inorichi 2016-02-05 14:53:07 +01:00
parent 391550f49a
commit 79cd8c691e
2 changed files with 2 additions and 2 deletions

View file

@ -36,7 +36,7 @@ public class ChaptersPresenter extends BasePresenter<ChaptersFragment> {
@Inject PreferencesHelper preferences; @Inject PreferencesHelper preferences;
@Inject DownloadManager downloadManager; @Inject DownloadManager downloadManager;
private Manga manga; @State Manga manga;
private Source source; private Source source;
private List<Chapter> chapters; private List<Chapter> chapters;
@State boolean hasRequested; @State boolean hasRequested;

View file

@ -78,7 +78,7 @@ public class PagerReaderFragment extends BaseFragment {
imageView.setScaleAndCenter(imageView.getScale(), new PointF(0, 0)); imageView.setScaleAndCenter(imageView.getScale(), new PointF(0, 0));
break; break;
case PagerReader.ALIGN_RIGHT: case PagerReader.ALIGN_RIGHT:
imageView.setScaleAndCenter(imageView.getScale(), new PointF(99999f, 0)); imageView.setScaleAndCenter(imageView.getScale(), new PointF(imageView.getSWidth(), 0));
break; break;
case PagerReader.ALIGN_CENTER: case PagerReader.ALIGN_CENTER:
PointF center = imageView.getCenter(); PointF center = imageView.getCenter();