Merge pull request #95 from processing/fix_debugger_button

This commit is contained in:
Ben Fry
2020-04-27 13:50:47 -04:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@@ -1862,6 +1862,7 @@ public class JavaEditor extends Editor {
public void toggleDebug() {
// debugEnabled = !debugEnabled;
debugger.toggleEnabled();
rebuildToolbar();
repaint(); // show/hide breakpoints in the gutter

View File

@@ -198,7 +198,7 @@ public class Debugger {
}
void toggleEnabled() {
public void toggleEnabled() {
enabled = !enabled;
if (enabled) {