Mercurial > hg > forks > multipaint-js
changeset 13:80727dab1359
Oops, fix the coordinate printing.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 04 Jul 2018 09:08:47 +0300 |
parents | a0a00f80b042 |
children | cecc594d1559 |
files | Interface.pde |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/Interface.pde Wed Jul 04 09:07:25 2018 +0300 +++ b/Interface.pde Wed Jul 04 09:08:47 2018 +0300 @@ -595,10 +595,10 @@ // coordinates if (xc < X && yc < Y) { - printat(0, 0, str(a)); - printat(4, 0, str(b)); - printat(0, 1, str(int(a / 8))); - printat(4, 1, str(int(b / 8))); + printat(0, 0, "Px:"+ str(xc)); + printat(6, 0, ", "+ str(yc)); + printat(0, 1, "Ch:"+ str(int(xc / 8))); + printat(6, 1, ", "+ str(int(yc / 8))); if (tool() == 6 && g_phase == 1) { float av = getangel(g_rx2 - g_rx, g_ry2 - g_ry);