mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 01:46:49 +00:00
Flip recents if setting is true
Bug: 72860694 Change-Id: I5cb71f553b2833a18a1b419b3744175bff963da8
This commit is contained in:
@@ -26,7 +26,6 @@ import com.android.launcher3.DeviceProfile;
|
||||
import com.android.launcher3.Launcher;
|
||||
import com.android.launcher3.LauncherState;
|
||||
import com.android.launcher3.R;
|
||||
import com.android.launcher3.Utilities;
|
||||
import com.android.launcher3.Workspace;
|
||||
import com.android.launcher3.userevent.nano.LauncherLogProto.ContainerType;
|
||||
import com.android.quickstep.RecentsView;
|
||||
@@ -111,7 +110,7 @@ public class OverviewState extends LauncherState {
|
||||
scale * (halfWidth - ws.getPaddingLeft() - insets.left - childWidth / 2);
|
||||
float translationX = pageRect.centerX() - childCenter;
|
||||
|
||||
if (Utilities.isRtl(launcher.getResources())) {
|
||||
if (launcher.<RecentsView>getOverviewPanel().isRtl()) {
|
||||
translationX -= offsetX / scale;
|
||||
} else {
|
||||
translationX += offsetX / scale;
|
||||
|
||||
Reference in New Issue
Block a user