mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-13 12:38:52 -06:00
Limit to ScrollableChart not to go beyond 1970
This commit is contained in:
@@ -123,7 +123,6 @@ class FrequencyChart : ScrollableChart {
|
||||
}
|
||||
|
||||
override fun onDraw(canvas: Canvas) {
|
||||
populateWithRandomData()
|
||||
super.onDraw(canvas)
|
||||
rect!![0f, 0f, nColumns * columnWidth] = columnHeight.toFloat()
|
||||
rect!!.offset(0f, internalPaddingTop.toFloat())
|
||||
|
||||
Reference in New Issue
Block a user