1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-16 11:21:18 +03:00

Serial button on the right.

This commit is contained in:
Cristian Maglie
2011-08-22 18:24:13 +02:00
parent 4b0a87b405
commit 6886910f3d

View File

@ -170,6 +170,10 @@ public class EditorToolbar extends JComponent implements MouseInputListener, Key
x2[i] = x1[i] + BUTTON_WIDTH; x2[i] = x1[i] + BUTTON_WIDTH;
offsetX = x2[i]; offsetX = x2[i];
} }
// Serial button must be on the right
x1[SERIAL] = width - BUTTON_WIDTH - 3;
x2[SERIAL] = width - 3;
} }
Graphics g = offscreen.getGraphics(); Graphics g = offscreen.getGraphics();
g.setColor(bgcolor); //getBackground()); g.setColor(bgcolor); //getBackground());