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

Commit a30e567b authored by Santiago Etchebehere's avatar Santiago Etchebehere Committed by Automerger Merge Worker
Browse files

Merge "Correctly render rows and columns in the grid options icons" into udc-qpr-dev am: 7ed2b3b7

parents b9e3b842 7ed2b3b7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -55,8 +55,8 @@ public class GridTileDrawable extends Drawable {
        for (int r = 0; r < mRows; r++) {
            for (int c = 0; c < mCols; c++) {
                int saveCount = canvas.save();
                float x = (float) ((r * size / mRows) + SPACE_BETWEEN_ICONS);
                float y = (float) ((c * size / mCols) + SPACE_BETWEEN_ICONS);
                float y = (float) ((r * size / mRows) + SPACE_BETWEEN_ICONS);
                float x = (float) ((c * size / mCols) + SPACE_BETWEEN_ICONS);
                canvas.translate(x, y);
                canvas.drawPath(mTransformedPath, mPaint);
                canvas.restoreToCount(saveCount);