mirror of https://github.com/noisymime/Arduino.git
Serial button on the right.
This commit is contained in:
parent
4b0a87b405
commit
6886910f3d
|
@ -170,6 +170,10 @@ public class EditorToolbar extends JComponent implements MouseInputListener, Key
|
|||
x2[i] = x1[i] + BUTTON_WIDTH;
|
||||
offsetX = x2[i];
|
||||
}
|
||||
|
||||
// Serial button must be on the right
|
||||
x1[SERIAL] = width - BUTTON_WIDTH - 3;
|
||||
x2[SERIAL] = width - 3;
|
||||
}
|
||||
Graphics g = offscreen.getGraphics();
|
||||
g.setColor(bgcolor); //getBackground());
|
||||
|
|
Loading…
Reference in New Issue