Center reader transition text properly (fixes #3819)

This commit is contained in:
arkon
2020-09-20 12:56:04 -04:00
parent 8cef35f4a0
commit 01ad405dd2
2 changed files with 3 additions and 2 deletions

View File

@ -19,6 +19,7 @@ class ReaderTransitionView @JvmOverloads constructor(context: Context, attrs: At
init {
inflate(context, R.layout.reader_transition_view, this)
layoutParams = LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT)
}
fun bind(transition: ChapterTransition) {