Quantcast
Channel: Android Mode - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 941

Setup executed twice when orientation(LANDSCAPE) is part of the setup

$
0
0

A little question: I just notice that the setup is executed twice when orientation(LANDSCAPE) is part of the setup. Is it a normal behaviour?

Ex: void setup(){ println("toto"); size(500, 650); }

=>toto writen in the console

void setup(){ println("toto"); orientation(LANDSCAPE); size(500, 650); }

=>toto writen in the console =>toto writen in the console


Viewing all articles
Browse latest Browse all 941

Trending Articles