mirror of
https://github.com/processing/processing4.git
synced 2026-01-27 18:31:07 +01:00
clean warnings
This commit is contained in:
@@ -157,7 +157,7 @@ public class JavaMode extends Mode {
|
||||
if (launchInteractive) {
|
||||
// fix swing deadlock issue: https://github.com/processing/processing/issues/3928
|
||||
EventQueue.invokeLater(() -> {
|
||||
editor.initEditorCode(parser.allHandles, false);
|
||||
editor.initEditorCode(parser.allHandles);
|
||||
editor.stopTweakMode(parser.allHandles);
|
||||
});
|
||||
}
|
||||
@@ -167,7 +167,7 @@ public class JavaMode extends Mode {
|
||||
// fix swing deadlock issue: https://github.com/processing/processing/issues/3928
|
||||
EventQueue.invokeLater(() -> {
|
||||
// replace editor code with baseCode
|
||||
editor.initEditorCode(parser.allHandles, false);
|
||||
editor.initEditorCode(parser.allHandles);
|
||||
editor.updateInterface(parser.allHandles, parser.colorBoxes);
|
||||
editor.startTweakMode();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user