mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 00:06:47 +00:00
Fix Launcher drop targets for App remove / uninstall / info
- make the code aware of the layout direction - use start drawables - fix animation drop rect Change-Id: I35f01b9079aef418c0a22b39e32344c7bf5a0660
This commit is contained in:
@@ -154,9 +154,9 @@ public class DeleteDropTarget extends ButtonDropTarget {
|
||||
}
|
||||
|
||||
if (isUninstall) {
|
||||
setCompoundDrawablesWithIntrinsicBounds(mUninstallDrawable, null, null, null);
|
||||
setCompoundDrawablesRelativeWithIntrinsicBounds(mUninstallDrawable, null, null, null);
|
||||
} else {
|
||||
setCompoundDrawablesWithIntrinsicBounds(mRemoveDrawable, null, null, null);
|
||||
setCompoundDrawablesRelativeWithIntrinsicBounds(mRemoveDrawable, null, null, null);
|
||||
}
|
||||
mCurrentDrawable = (TransitionDrawable) getCurrentDrawable();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user