Skip to content

Commit fd1feee

Browse files
committed
fix for new rollover-aware constructor to EditorButton
1 parent e143c1e commit fd1feee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/processing/mode/android/AndroidToolbar.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public void handlePressed(MouseEvent e, int sel) {
120120
@Override
121121
public List<EditorButton> createButtons() {
122122
ArrayList<EditorButton> toReturn = new ArrayList<EditorButton>();
123-
runButton = new EditorButton(mode,
123+
runButton = new EditorButton(this,
124124
"/lib/toolbar/run",
125125
"Run on device",
126126
"Run on emulator") {
@@ -131,7 +131,7 @@ public void actionPerformed(ActionEvent e) {
131131
};
132132
toReturn.add(runButton);
133133

134-
stopButton = new EditorButton(mode,
134+
stopButton = new EditorButton(this,
135135
"/lib/toolbar/stop",
136136
Language.text("toolbar.stop")) {
137137
@Override

0 commit comments

Comments
 (0)