mirror of
https://github.com/processing/processing4.git
synced 2026-02-10 17:19:25 +01:00
cleaning up bugs and making more
This commit is contained in:
@@ -71,7 +71,7 @@ public class PdeEditorButtons extends JComponent implements MouseInputListener {
|
||||
JPopupMenu popup;
|
||||
|
||||
int buttonCount;
|
||||
int state[];
|
||||
int state[] = new int[BUTTON_COUNT];
|
||||
Image stateImage[];
|
||||
int which[]; // mapping indices to implementation
|
||||
|
||||
@@ -142,7 +142,7 @@ public class PdeEditorButtons extends JComponent implements MouseInputListener {
|
||||
rollover = new Image[BUTTON_COUNT];
|
||||
active = new Image[BUTTON_COUNT];
|
||||
|
||||
state = new int[BUTTON_COUNT];
|
||||
//state = new int[BUTTON_COUNT];
|
||||
|
||||
for (int i = 0; i < BUTTON_COUNT; i++) {
|
||||
inactive[i] = createImage(BUTTON_WIDTH, BUTTON_HEIGHT);
|
||||
|
||||
Reference in New Issue
Block a user