Mercurial > hg > forks > multipaint-js
diff multipaint.pde @ 135:72ae62f2036b
Cosmetic cleanups.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 08 Aug 2018 11:16:18 +0300 |
parents | f5c32f6470d0 |
children | 12cf30907f26 |
line wrap: on
line diff
--- a/multipaint.pde Wed Aug 08 11:06:43 2018 +0300 +++ b/multipaint.pde Wed Aug 08 11:16:18 2018 +0300 @@ -481,7 +481,7 @@ } // Tool drawing for shows - int lipo = g_button; + int savebut = g_button; if (tool() != 5) { if (g_phase == 0) @@ -491,7 +491,7 @@ if (tool() == 6) doline(g_rx, g_ry, g_rx2, g_ry2, 0); if (tool() == 7) docircle(g_rx, g_ry, g_rx2, g_ry2); if (tool() == 8) rectangle(g_rx, g_ry, g_rx2, g_ry2); - g_button = lipo; + g_button = savebut; // Screen update stuff loadPixels();