mirror of
https://github.com/processing/processing4.git
synced 2026-01-28 02:41:08 +01:00
Updated preferences for vaqua per #88.
This commit is contained in:
@@ -844,8 +844,6 @@ public class Sketch {
|
||||
|
||||
// https://github.com/processing/processing4/issues/77
|
||||
boolean useNative = Preferences.getBoolean("chooser.files.native");
|
||||
useNative = useNative && !Platform.isMacOS();
|
||||
|
||||
if (useNative) {
|
||||
// get new name for folder
|
||||
FileDialog fd = new FileDialog(editor, PROMPT, FileDialog.SAVE);
|
||||
|
||||
@@ -81,7 +81,7 @@ public class DefaultPlatform {
|
||||
String laf = Preferences.get("editor.laf");
|
||||
if (laf == null || laf.length() == 0) { // normal situation
|
||||
boolean isMac = System.getProperty("os.name", "").startsWith("Mac OS");
|
||||
if (isMac) {
|
||||
if (isMac && Preferences.getBoolean("editor.allow_vaqua")) {
|
||||
UIManager.setLookAndFeel("org.violetlib.aqua.AquaLookAndFeel");
|
||||
|
||||
Icon collapse = new MacTreeIcon(true);
|
||||
|
||||
@@ -723,7 +723,7 @@
|
||||
<classpath file="../app/lib/jna-platform.jar" />
|
||||
<classpath file="../app/lib/ant.jar" />
|
||||
<classpath file="../app/lib/ant-launcher.jar" />
|
||||
<classpath file="../app/lib/vaqua7.jar" />
|
||||
<classpath file="../app/lib/VAqua7.jar" />
|
||||
|
||||
<!-- plus core.jar... note that this is no longer shared -->
|
||||
<classpath file="../core/library/core.jar" />
|
||||
|
||||
@@ -74,6 +74,7 @@ recent.count = 10
|
||||
|
||||
# Default to the native (AWT) file selector where possible
|
||||
chooser.files.native = true
|
||||
chooser.files.native.macosx = false # except on mac where it's broken
|
||||
|
||||
|
||||
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
@@ -167,6 +168,9 @@ editor.watcher.debug = false
|
||||
# The window of time (in milliseconds) in which a change won't be counted
|
||||
editor.watcher.window = 1500
|
||||
|
||||
# allow vaqua on mac
|
||||
editor.allow_vaqua = true
|
||||
|
||||
# Format and search engine to use for online queries
|
||||
search.format = https://google.com/search?q=%s
|
||||
|
||||
|
||||
Reference in New Issue
Block a user