Skip to content

Commit a1db5f2

Browse files
committed
Moved call to OnDraw before the super.
1 parent 33c2a50 commit a1db5f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aztec/src/main/kotlin/org/wordpress/aztec/AztecText.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,10 +315,10 @@ open class AztecText : AppCompatEditText, TextWatcher, UnknownHtmlSpan.OnUnknown
315315
var lastPressedYCoord: Int = 0
316316

317317
override fun onDraw(canvas: Canvas) {
318-
super.onDraw(canvas)
319318
plugins.filterIsInstance<IOnDrawPlugin>().forEach {
320319
it.onDraw(canvas)
321320
}
321+
super.onDraw(canvas)
322322
}
323323

324324
interface OnSelectionChangedListener {

0 commit comments

Comments
 (0)