changeset 151:8a9a9fcc02f7

Cleanup.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 15 Aug 2018 13:57:50 +0300
parents d7c13f427178
children 394c52d4763a
files Interface.pde compiled/index.html index.html
diffstat 3 files changed, 3 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/Interface.pde	Tue Aug 14 15:50:15 2018 +0300
+++ b/Interface.pde	Wed Aug 15 13:57:50 2018 +0300
@@ -1184,7 +1184,7 @@
     if (doicon(ox, oy, bs * 2, bs * 3)) command(int('<'));
     if (machine == C64M || machine == MSX || machine == AMIGA) {
         e_rect(ox, oy + bs * 3, bs * 2, bs, g_rgb[int(g_map[1])]);
-        d_rect(ox, oy + bs * 3, bs * 2, bs, g_rgb[int(257)]);
+        d_rect(ox, oy + bs * 3, bs * 2, bs, g_rgb[257]);
         if (doicon(ox, oy + bs * 3, bs * 2, bs)) {
             if (g_shift == false) selectcolor(h, int(g_map[1]));
             if (g_shift) command(int('C'));
@@ -1193,8 +1193,8 @@
     if (machine == PLUS4M) {
         e_rect(ox, oy + bs * 3, bs, bs, g_rgb[int(g_map[1])]);
         e_rect(ox + 8 * g_uizoom, oy + bs * 3, bs, bs, g_rgb[int(g_map[2])]);
-        d_rect(ox, oy + bs * 3, bs, bs, g_rgb[int(257)]);
-        d_rect(ox + 8 * g_uizoom, oy + bs * 3, bs, bs, g_rgb[int(257)]);
+        d_rect(ox, oy + bs * 3, bs, bs, g_rgb[257]);
+        d_rect(ox + 8 * g_uizoom, oy + bs * 3, bs, bs, g_rgb[257]);
         if (doicon(ox, oy + bs * 3, bs, bs)) {
             if (g_shift == false) selectcolor(h, int(g_map[1]));
             if (g_shift) command(int('C'));
--- a/compiled/index.html	Tue Aug 14 15:50:15 2018 +0300
+++ b/compiled/index.html	Wed Aug 15 13:57:50 2018 +0300
@@ -15,7 +15,6 @@
 
 function mpRunSketch(canvas)
 {
-  canvas.imageSmoothingEnabled = false;
   new Processing(canvas, multipaintJS);
 }
 
--- a/index.html	Tue Aug 14 15:50:15 2018 +0300
+++ b/index.html	Wed Aug 15 13:57:50 2018 +0300
@@ -14,7 +14,6 @@
 
 function mpRunSketch(canvas)
 {
-  canvas.imageSmoothingEnabled = false;
   Processing.loadSketchFromSources(canvas, mpSources);
 }