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() initOffsetHeight()
} }
override fun setText(text: CharSequence?, type: BufferType?) { override fun onTextChanged(
super.setText(text, type) text: CharSequence?,
start: Int,
lengthBefore: Int,
lengthAfter: Int
) {
super.onTextChanged(text, start, lengthBefore, lengthAfter)
initOffsetHeight() initOffsetHeight()
} }

Loading…
Cancel
Save