console not shown at start, infobox for touch device
This commit is contained in:
@ -70,7 +70,7 @@ function adjustGrid() {
|
||||
|
||||
switch (nColumns) {
|
||||
case 1:
|
||||
if (window['showConsole']) {
|
||||
if (showConsole) {
|
||||
if (showParams) {
|
||||
style(0); // hide
|
||||
style(1); // hide
|
||||
@ -100,7 +100,7 @@ function adjustGrid() {
|
||||
case 3:
|
||||
rightWidth = Math.min(50, MINWIDTH / width * 100);
|
||||
leftWidth = 100 - rightWidth;
|
||||
if (window['showConsole']) {
|
||||
if (showConsole) {
|
||||
if (nRows == 1) {
|
||||
if (showParams) {
|
||||
style(0,leftWidth + "vw","100vh");
|
||||
@ -157,7 +157,7 @@ function adjustGrid() {
|
||||
case 4:
|
||||
rightWidth = MINWIDTH / width * 100;
|
||||
leftWidth = 100 - 2 * rightWidth;
|
||||
if (window['showConsole']) {
|
||||
if (showConsole) {
|
||||
style(0,leftWidth + "vw","100vh");
|
||||
style(1,rightWidth + "vw","50vh");
|
||||
style(2,rightWidth + "vw","50vh");
|
||||
|
Reference in New Issue
Block a user