Skip to content

Commit 1f3ab67

Browse files
committed
implement active state for debugger button
1 parent 9e14b06 commit 1f3ab67

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

java/src/processing/mode/java/JavaToolbar.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,10 @@ public void actionPerformed(ActionEvent e) {
118118
jeditor.toggleDebug();
119119
}
120120
};
121-
debugButton.setReverse();
121+
// debugButton.setReverse();
122+
if (((JavaEditor) editor).isDebuggerEnabled()) {
123+
debugButton.setSelected(true);
124+
}
122125
box.add(debugButton);
123126
addGap(box);
124127
}

todo.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
0236 (3.0a9)
2-
X show screen dimensions in the Preferences window
2+
X show screen dimensions in the Preferences window for display selector
33

44
gui/pdex/debugger
55
X implement the bottom half of the editor window
@@ -33,6 +33,7 @@ o almost always used as a negative, or tied to a 'return' from fxn
3333
o name isn't tied to its function, but the symptom
3434
X update hasJavaTabs on editor header rebuild
3535
X remove focus border from the Variables window
36+
X need active state for the butterfly
3637

3738
in alpha 8 (but not confirmed in time)
3839
X "step" not working properly
@@ -43,7 +44,6 @@ X https://github.com/processing/processing/issues/3242
4344

4445
gui
4546
_ click a line number to toggle breakpoint
46-
_ need active state for the butterfly
4747
_ finish the gui
4848
_ https://github.com/processing/processing/issues/3072
4949
_ add a "what's new" window to explain features in 3

0 commit comments

Comments
 (0)