Skip to content

Commit 6886910

Browse files
committed
Serial button on the right.
1 parent 4b0a87b commit 6886910

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/src/processing/app/EditorToolbar.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,10 @@ public void paintComponent(Graphics screen) {
170170
x2[i] = x1[i] + BUTTON_WIDTH;
171171
offsetX = x2[i];
172172
}
173+
174+
// Serial button must be on the right
175+
x1[SERIAL] = width - BUTTON_WIDTH - 3;
176+
x2[SERIAL] = width - 3;
173177
}
174178
Graphics g = offscreen.getGraphics();
175179
g.setColor(bgcolor); //getBackground());

0 commit comments

Comments
 (0)