mirror of
https://github.com/processing/processing4.git
synced 2026-01-27 18:31:07 +01:00
replace MACOSX constant with MACOS
This commit is contained in:
@@ -44,14 +44,14 @@ public class Platform {
|
||||
static Map<Integer, String> platformNames = new HashMap<>();
|
||||
static {
|
||||
platformNames.put(PConstants.WINDOWS, "windows"); //$NON-NLS-1$
|
||||
platformNames.put(PConstants.MACOSX, "macosx"); //$NON-NLS-1$
|
||||
platformNames.put(PConstants.MACOS, "macosx"); //$NON-NLS-1$
|
||||
platformNames.put(PConstants.LINUX, "linux"); //$NON-NLS-1$
|
||||
}
|
||||
|
||||
static Map<String, Integer> platformIndices = new HashMap<>();
|
||||
static {
|
||||
platformIndices.put("windows", PConstants.WINDOWS); //$NON-NLS-1$
|
||||
platformIndices.put("macosx", PConstants.MACOSX); //$NON-NLS-1$
|
||||
platformIndices.put("macosx", PConstants.MACOS); //$NON-NLS-1$
|
||||
platformIndices.put("linux", PConstants.LINUX); //$NON-NLS-1$
|
||||
}
|
||||
|
||||
@@ -411,7 +411,7 @@ public class Platform {
|
||||
|
||||
|
||||
// . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
|
||||
|
||||
|
||||
static public float getSystemZoom() {
|
||||
return inst.getSystemZoom();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user