mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-04-28 02:29:09 +00:00
adjust clipboard toolbar key background
This commit is contained in:
parent
71ff8bc7aa
commit
f0410fd783
2 changed files with 2 additions and 1 deletions
|
@ -118,7 +118,7 @@ class ClipboardHistoryView @JvmOverloads constructor(
|
|||
it.setOnTouchListener(this@ClipboardHistoryView)
|
||||
it.setOnClickListener(this@ClipboardHistoryView)
|
||||
colors.setColor(it, ColorType.TOOL_BAR_KEY)
|
||||
colors.setBackground(it, ColorType.TOOL_BAR_KEY)
|
||||
colors.setBackground(it, ColorType.BACKGROUND)
|
||||
}
|
||||
colors.setBackground(clipboardStrip, ColorType.BACKGROUND)
|
||||
initialized = true
|
||||
|
|
|
@ -282,6 +282,7 @@ public final class SuggestionStripView extends RelativeLayout implements OnClick
|
|||
public void onVisibilityChanged(@NonNull final View view, final int visibility) {
|
||||
super.onVisibilityChanged(view, visibility);
|
||||
if (view == this)
|
||||
// workaround for a bug with inline suggestions views that just keep showing up otherwise, https://github.com/Helium314/openboard/pull/386
|
||||
mSuggestionsStrip.setVisibility(visibility);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue