mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
YellowTail on Android uses screen width and height, added sketch properties so it starts in Android mode
This commit is contained in:
@@ -20,7 +20,7 @@ int tmpXp[];
|
||||
int tmpYp[];
|
||||
|
||||
void setup() {
|
||||
size(480, 800, A3D);
|
||||
size(screenWidth, screenHeight, A3D);
|
||||
orientation(PORTRAIT);
|
||||
|
||||
background(0, 0, 0);
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
mode=Android
|
||||
Reference in New Issue
Block a user