mirror of
				https://github.com/SimpleMobileTools/Simple-Keyboard.git
				synced 2025-06-05 21:49:26 +02:00 
			
		
		
		
	fixing a visual glitch at clicking an unclickable pin icon
This commit is contained in:
		| @@ -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) | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user