mirror of
https://github.com/processing/processing4.git
synced 2026-02-04 22:29:18 +01:00
implement active state for debugger button
This commit is contained in:
@@ -118,7 +118,10 @@ public class JavaToolbar extends EditorToolbar {
|
||||
jeditor.toggleDebug();
|
||||
}
|
||||
};
|
||||
debugButton.setReverse();
|
||||
// debugButton.setReverse();
|
||||
if (((JavaEditor) editor).isDebuggerEnabled()) {
|
||||
debugButton.setSelected(true);
|
||||
}
|
||||
box.add(debugButton);
|
||||
addGap(box);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user