Skip to content

Commit

Permalink
Draw indicators on top
Browse files Browse the repository at this point in the history
  • Loading branch information
Reco1I committed Dec 29, 2024
1 parent 3fdc324 commit f4f7659
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/com/reco1l/andengine/container/ScrollableContainer.kt
Original file line number Diff line number Diff line change
Expand Up @@ -270,9 +270,10 @@ open class ScrollableContainer : Container() {
}

override fun onManagedDrawChildren(pGL: GL10, pCamera: Camera) {
super.onManagedDrawChildren(pGL, pCamera)

indicatorX?.onDraw(pGL, pCamera)
indicatorY?.onDraw(pGL, pCamera)
super.onManagedDrawChildren(pGL, pCamera)
}

override fun onAreaTouched(event: TouchEvent, localX: Float, localY: Float): Boolean {
Expand Down

0 comments on commit f4f7659

Please sign in to comment.