mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
Fix category text fade out
This commit is contained in:
parent
16d8a5bb37
commit
522cdef563
1 changed files with 2 additions and 2 deletions
|
@ -434,12 +434,12 @@ class LibraryController(
|
|||
|
||||
fun showCategoryText(name: String) {
|
||||
textAnim?.cancel()
|
||||
binding.jumperCategoryText.alpha = 1f
|
||||
binding.jumperCategoryText.text = name
|
||||
textAnim = binding.jumperCategoryText.animate().alpha(0f).setDuration(250L).setStartDelay(
|
||||
2000,
|
||||
)
|
||||
textAnim?.start()
|
||||
binding.jumperCategoryText.alpha = 1f
|
||||
binding.jumperCategoryText.text = name
|
||||
}
|
||||
|
||||
fun isAtTop(): Boolean {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue