Skip to content

Commit 551b8e8

Browse files
committed
Don't use the low-res icon on Mac OS X.
http://code.google.com/p/arduino/issues/detail?id=612
1 parent da5ccf4 commit 551b8e8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/src/processing/app/Base.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1722,6 +1722,10 @@ static public File selectFolder(String prompt, File folder, Frame frame) {
17221722
* Give this Frame a Processing icon.
17231723
*/
17241724
static public void setIcon(Frame frame) {
1725+
// don't use the low-res icon on Mac OS X; the window should
1726+
// already have the right icon from the .app file.
1727+
if (Base.isMacOS()) return;
1728+
17251729
Image image = Toolkit.getDefaultToolkit().createImage(PApplet.ICON_IMAGE);
17261730
frame.setIconImage(image);
17271731
}

0 commit comments

Comments
 (0)