mirror of
https://github.com/processing/processing4.git
synced 2026-02-03 21:59:20 +01:00
get core loading properly on Windows, change displays to be numbered at 0
This commit is contained in:
@@ -220,8 +220,8 @@ public class Runner implements MessageConsumer {
|
||||
} else {
|
||||
params.add("processing.core.PApplet");
|
||||
|
||||
// get the stored device index (starts at 1)
|
||||
int runDisplay = Preferences.getInteger("run.display") - 1;
|
||||
// get the stored device index (starts at 0)
|
||||
int runDisplay = Preferences.getInteger("run.display");
|
||||
|
||||
// If there was a saved location (this guy has been run more than once)
|
||||
// then the location will be set to the last position of the sketch window.
|
||||
|
||||
Reference in New Issue
Block a user