File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -844,8 +844,6 @@ public boolean saveAs() throws IOException {
844844
845845 // https://github.com/processing/processing4/issues/77
846846 boolean useNative = Preferences .getBoolean ("chooser.files.native" );
847- useNative = useNative && !Platform .isMacOS ();
848-
849847 if (useNative ) {
850848 // get new name for folder
851849 FileDialog fd = new FileDialog (editor , PROMPT , FileDialog .SAVE );
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ public void setLookAndFeel() throws Exception {
8181 String laf = Preferences .get ("editor.laf" );
8282 if (laf == null || laf .length () == 0 ) { // normal situation
8383 boolean isMac = System .getProperty ("os.name" , "" ).startsWith ("Mac OS" );
84- if (isMac ) {
84+ if (isMac && Preferences . getBoolean ( "editor.allow_vaqua" ) ) {
8585 UIManager .setLookAndFeel ("org.violetlib.aqua.AquaLookAndFeel" );
8686
8787 Icon collapse = new MacTreeIcon (true );
Original file line number Diff line number Diff line change 723723 <classpath file =" ../app/lib/jna-platform.jar" />
724724 <classpath file =" ../app/lib/ant.jar" />
725725 <classpath file =" ../app/lib/ant-launcher.jar" />
726- <classpath file =" ../app/lib/vaqua7 .jar" />
726+ <classpath file =" ../app/lib/VAqua7 .jar" />
727727
728728 <!-- plus core.jar... note that this is no longer shared -->
729729 <classpath file =" ../core/library/core.jar" />
Original file line number Diff line number Diff line change @@ -74,6 +74,7 @@ recent.count = 10
7474
7575# Default to the native (AWT) file selector where possible
7676chooser.files.native = true
77+ chooser.files.native.macosx = false # except on mac where it's broken
7778
7879
7980# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
@@ -167,6 +168,9 @@ editor.watcher.debug = false
167168# The window of time (in milliseconds) in which a change won't be counted
168169editor.watcher.window = 1500
169170
171+ # allow vaqua on mac
172+ editor.allow_vaqua = true
173+
170174# Format and search engine to use for online queries
171175search.format = https://google.com/search?q=%s
172176
You can’t perform that action at this time.
0 commit comments