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

Commit 641b0628 authored by Jason Sams's avatar Jason Sams
Browse files

Fix fountain bug with more than 10 touches reported.

Change-Id: Ie4ddefbcbe6407fb7ffae2c6e2440fec0b974cfb
parent 1c415171
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);