mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-11-04 08:08:55 +01:00 
			
		
		
		
	@@ -40,6 +40,11 @@ class WebtoonRecyclerView @JvmOverloads constructor(
 | 
			
		||||
    var tapListener: ((MotionEvent) -> Unit)? = null
 | 
			
		||||
    var longTapListener: ((MotionEvent) -> Boolean)? = null
 | 
			
		||||
 | 
			
		||||
    init {
 | 
			
		||||
        isVerticalScrollBarEnabled = false
 | 
			
		||||
        isHorizontalScrollBarEnabled = false
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    override fun onMeasure(widthSpec: Int, heightSpec: Int) {
 | 
			
		||||
        halfWidth = MeasureSpec.getSize(widthSpec) / 2
 | 
			
		||||
        halfHeight = MeasureSpec.getSize(heightSpec) / 2
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user