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 DownloadManager downloadManager;
private Manga manga;
@State Manga manga;
private Source source;
private List<Chapter> chapters;
@State boolean hasRequested;

View File

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