pull/34/head
kunfei 5 years ago
parent c6b5ec21f2
commit f729531dac
  1. 9
      app/src/main/java/io/legado/app/ui/widget/page/ContentTextView.kt

@ -81,8 +81,13 @@ class ContentTextView : AppCompatTextView {
initOffsetHeight()
}
override fun setText(text: CharSequence?, type: BufferType?) {
super.setText(text, type)
override fun onTextChanged(
text: CharSequence?,
start: Int,
lengthBefore: Int,
lengthAfter: Int
) {
super.onTextChanged(text, start, lengthBefore, lengthAfter)
initOffsetHeight()
}

Loading…
Cancel
Save