mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
default to using native file selector on all platforms (#5122)
This commit is contained in:
@@ -74,8 +74,6 @@ recent.count = 10
|
||||
|
||||
# Default to the native (AWT) file selector where possible
|
||||
chooser.files.native = true
|
||||
# native Linux file chooser is atrocious, use Swing instead
|
||||
chooser.files.native.linux = false
|
||||
|
||||
|
||||
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
|
||||
@@ -176,12 +176,10 @@ public class PApplet implements PConstants {
|
||||
|
||||
/**
|
||||
* Whether to use native (AWT) dialogs for selectInput and selectOutput.
|
||||
* The native dialogs on Linux tend to be pretty awful. With selectFolder()
|
||||
* this is ignored, because there is no native folder selector, except on
|
||||
* Mac OS X. On OS X, the native folder selector will be used unless
|
||||
* useNativeSelect is set to false.
|
||||
* The native dialogs on some platforms can be ugly, buggy, or missing
|
||||
* features. For 3.3.5, this defaults to true on all platforms.
|
||||
*/
|
||||
static public boolean useNativeSelect = (platform != LINUX);
|
||||
static public boolean useNativeSelect = true;
|
||||
|
||||
/** The PGraphics renderer associated with this PApplet */
|
||||
public PGraphics g;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
0262 (3.3.5 or 3.4)
|
||||
X default to using native select on all platforms
|
||||
|
||||
|
||||
_ shell discussion with gohai
|
||||
|
||||
Reference in New Issue
Block a user