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

Commit 2b425d3c authored by Jason Sams's avatar Jason Sams Committed by Android (Google) Code Review
Browse files

Merge "Fix fountain bug with more than 10 touches reported."

parents 3f24a5b3 641b0628
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -53,7 +53,7 @@ public class FountainRS {

    boolean holdingColor[] = new boolean[10];
    public void newTouchPosition(float x, float y, float pressure, int id) {
        if (id > holdingColor.length) {
        if (id >= holdingColor.length) {
            return;
        }
        int rate = (int)(pressure * pressure * 500.f);