Permalink
Browse files

trim slider right side should default to 100%

  • Loading branch information...
1 parent e8dd65a commit 51f1f6240200f71fd06bdda690dc265f605f2c36 @vitriolix vitriolix committed Apr 3, 2013
Showing with 5 additions and 1 deletion.
  1. +5 −1 app/src/info/guardianproject/mrapp/OrderClipsFragment.java
@@ -550,6 +550,10 @@ public void saveTrim() {
public void loadTrim() {
Media media = mMPM.mScene.getMediaAsArray()[mCurrentClipIdx];
mRangeSeekBar.setSelectedMinValue(media.getTrimStart());
- mRangeSeekBar.setSelectedMaxValue(media.getTrimEnd());
+ if (media.getTrimEnd() > 0) {
+ mRangeSeekBar.setSelectedMaxValue(media.getTrimEnd());
+ } else {
+ mRangeSeekBar.setSelectedMaxValue(99);
+ }
}
}

0 comments on commit 51f1f62

Please sign in to comment.