Skip to content

Commit

Permalink
add centerCrop transform for Glide loader coming from the background
Browse files Browse the repository at this point in the history
  • Loading branch information
mzorz committed Aug 29, 2019
1 parent f571651 commit d7117f4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ class ComposeLoopFrameActivity : AppCompatActivity() {
} else {
Glide.with(this@ComposeLoopFrameActivity)
.load(currentOriginalCapturedFile)
.transform(CenterCrop())
.into(photoEditorView.source)
showStaticBackground()
}
Expand Down

0 comments on commit d7117f4

Please sign in to comment.