diff --git a/app/src/processing/app/PreferencesFrame.java b/app/src/processing/app/PreferencesFrame.java index 04cbc72af..3158d1975 100644 --- a/app/src/processing/app/PreferencesFrame.java +++ b/app/src/processing/app/PreferencesFrame.java @@ -219,19 +219,20 @@ public class PreferencesFrame { }); selector = new ColorChooser(frame, false, - Preferences.getColor("run.present.bgcolor"), Language.text("prompt.ok"), - new ActionListener() { - @Override - public void actionPerformed(ActionEvent e) { - String colorValue = selector.getHexColor(); - presentColorHex.setText(colorValue.substring(1)); - presentColor.setBackground(new Color(PApplet.unhex(colorValue))); - selector.hide(); - } - }); + Preferences.getColor("run.present.bgcolor"), + Language.text("prompt.ok"), + new ActionListener() { + @Override + public void actionPerformed(ActionEvent e) { + String colorValue = selector.getHexColor(); + colorValue = colorValue.substring(1); // remove the # + presentColorHex.setText(colorValue); + presentColor.setBackground(new Color(PApplet.unhex(colorValue))); + selector.hide(); + } + }); presentColor.addMouseListener(new MouseAdapter() { - @Override public void mouseExited(MouseEvent e) { frame.setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR)); diff --git a/core/todo.txt b/core/todo.txt index d1e8a92ad..5780e556f 100644 --- a/core/todo.txt +++ b/core/todo.txt @@ -1,9 +1,9 @@ 0236 (3.0a9) X Implement Cmd-Q handler on Mac OS X X https://github.com/processing/processing/issues/3301 +X Changing "background color when Presenting" causes Exception +X https://github.com/processing/processing/issues/3299 _ remove "null in initImage()" message -_ Changing "background color when Presenting" causes Exception -_ https://github.com/processing/processing/issues/3299 fixed in 3.0a8 X Full screen window on second monitor without using present mode @@ -17,6 +17,8 @@ X Initial location of OpenGL window hides the title bar X https://github.com/processing/processing/issues/2981 X OpenGL sketches do not terminate, have to be killed X https://github.com/processing/processing/issues/2982 +X Quitting P3D sketch throws an error +X https://github.com/processing/processing/issues/3293 high priority _ displayWidth and displayHeight are zero @@ -67,8 +69,6 @@ _ implement external messages (moving the window) opengl -_ Quitting P3D sketch throws an error -_ https://github.com/processing/processing/issues/3293 _ Closing OpenGL sketch from the PDE doesn't stop java.exe process _ https://github.com/processing/processing/issues/2335 _ why is createShape() implemented 4x (for P2D, P3D, and 2x versions)?