mirror of
https://github.com/processing/processing4.git
synced 2026-02-14 10:55:38 +01:00
Fixed another regression
This commit is contained in:
@@ -61,4 +61,7 @@ public class Preferences {
|
||||
String value = get(attribute); //, null);
|
||||
return Boolean.parseBoolean(value);
|
||||
}
|
||||
static public int getInteger(String attribute /*, int defaultValue*/) {
|
||||
return Integer.parseInt(get(attribute));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -412,7 +412,7 @@ public class PdePreprocessor {
|
||||
*/
|
||||
public PdePreprocessor build() {
|
||||
final int effectiveTabSize =
|
||||
tabSize.orElseGet(() -> 4);
|
||||
tabSize.orElseGet(() -> Preferences.getInteger("editor.tabs.size"));
|
||||
|
||||
final boolean effectiveIsTesting = isTesting.orElse(false);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user