If you're using the version with "labels", you should have these lines:
const canvTextRect = new Rect(
0,
100 - canvTextSize / 2,
canvSize,
canvTextSize
);
const canvLabelRect = new Rect(
0,
(100 - canvTextSize / 2) - 35,
canvSize,
canvTextSize + 25
);```
Change the 100 in the `canvLabelRect` section (or adjust the 35) to move the emoji/icons up/down
If you increase it (100 -> 150), it moves the emoji/icon down, and decreasing it (100 -> 50) moves the emoji/icon up.
You can probably delete the "35"
p.s. If you want move the actual info text down/up, change the "100" in the `canvTextRect ` section too
View all comments
Show parent comment
3
u/tempsquared Oct 25 '20 edited Oct 25 '20
If you're using the version with "labels", you should have these lines: