mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08:19 +00:00
Fixes the incorrect hover icon color in drop bar when dark theme
Bug: 78641863 Test: Manual test with dark and light wallpapers Change-Id: Ic3fb68f5c5f746482a7f23b11284e30ac3e10168
This commit is contained in:
@@ -192,8 +192,10 @@ public abstract class ButtonDropTarget extends TextView
|
||||
mCurrentFilter = new ColorMatrix();
|
||||
}
|
||||
|
||||
Themes.setColorScaleOnMatrix(getTextColor(), mSrcFilter);
|
||||
Themes.setColorScaleOnMatrix(targetColor, mDstFilter);
|
||||
int defaultTextColor = mOriginalTextColor.getDefaultColor();
|
||||
Themes.setColorChangeOnMatrix(defaultTextColor, getTextColor(), mSrcFilter);
|
||||
Themes.setColorChangeOnMatrix(defaultTextColor, targetColor, mDstFilter);
|
||||
|
||||
ValueAnimator anim1 = ValueAnimator.ofObject(
|
||||
new FloatArrayEvaluator(mCurrentFilter.getArray()),
|
||||
mSrcFilter.getArray(), mDstFilter.getArray());
|
||||
|
||||
Reference in New Issue
Block a user