mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-06 09:08:52 -06:00
HeaderView: Fix padding
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 5.2 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 5.2 KiB |
@@ -122,7 +122,7 @@ class HeaderView(
|
||||
|
||||
repeat(buttonCount) { index ->
|
||||
rect.set(0f, 0f, width, height)
|
||||
rect.offset(canvas.width.toFloat(), 0f)
|
||||
rect.offset(canvas.width.toFloat() - dp(3.0f), 0f)
|
||||
|
||||
if (isReversed) rect.offset(-(index + 1) * width, 0f)
|
||||
else rect.offset((index - buttonCount) * width, 0f)
|
||||
|
||||
Reference in New Issue
Block a user