mirror of
https://github.com/SimpleMobileTools/Simple-Keyboard.git
synced 2025-02-19 21:30:47 +01:00
fixing a visual glitch at clicking an unclickable pin icon
This commit is contained in:
parent
4919587685
commit
5fafff8f6a
@ -109,6 +109,7 @@ class ClipsKeyboardAdapter(
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
setImageDrawable(resources.getDrawable(R.drawable.ic_pin_filled))
|
setImageDrawable(resources.getDrawable(R.drawable.ic_pin_filled))
|
||||||
|
background = null // avoid doing any animations on clicking clipboard_manager_holder
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -301,6 +301,7 @@ class MyKeyboardView @JvmOverloads constructor(context: Context, attrs: Attribut
|
|||||||
mClipboardManagerHolder?.apply {
|
mClipboardManagerHolder?.apply {
|
||||||
top_clipboard_divider.beGoneIf(wasDarkened)
|
top_clipboard_divider.beGoneIf(wasDarkened)
|
||||||
clipboard_manager_holder.background = ColorDrawable(mBackgroundColor.darkenColor())
|
clipboard_manager_holder.background = ColorDrawable(mBackgroundColor.darkenColor())
|
||||||
|
|
||||||
clipboard_manager_close.applyColorFilter(mTextColor)
|
clipboard_manager_close.applyColorFilter(mTextColor)
|
||||||
clipboard_manager_manage.applyColorFilter(mTextColor)
|
clipboard_manager_manage.applyColorFilter(mTextColor)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user