Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 25f7f2ed authored by Jens Doll's avatar Jens Doll
Browse files

Pie Controls: Fix snap points position.

This commit reverts an error, introduced by the second pie
service commit, which causes the positions where the snap points
gets displayed to be inverted.

Change-Id: Iedaf6d4773c9ae45fb685d724fad6c35ecdeddf0
parent 4641ba20
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -316,7 +316,7 @@ public class PieView extends View implements View.OnTouchListener {
        mActiveSnap = null;
        // reuse already created snap points
        for (PiePosition g : PiePosition.values()) {
            if ((mSnapPointMask & g.FLAG) == 0) {
            if ((mSnapPointMask & g.FLAG) != 0) {
                int x = width / 2;
                int y = height / 2;
                if (g == PiePosition.LEFT || g == PiePosition.RIGHT) {