mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
fix for code that wasn't removed properly
This commit is contained in:
@@ -48,8 +48,6 @@ public class EditorHeader extends JComponent {
|
||||
JMenu menu;
|
||||
JPopupMenu popup;
|
||||
|
||||
JMenuItem hideItem;
|
||||
|
||||
int menuLeft;
|
||||
int menuRight;
|
||||
|
||||
@@ -172,9 +170,6 @@ public class EditorHeader extends JComponent {
|
||||
tabRight = new int[codeCount];
|
||||
}
|
||||
|
||||
// disable hide on the first tab
|
||||
hideItem.setEnabled(sketch.getCurrentCode() != sketch.getCode(0));
|
||||
|
||||
int x = 6; // offset from left edge of the component
|
||||
for (int i = 0; i < sketch.getCodeCount(); i++) {
|
||||
SketchCode code = sketch.getCode(i);
|
||||
|
||||
Reference in New Issue
Block a user