parcelas error touppercase

This commit is contained in:
abe- 2017-06-17 15:22:40 +02:00
parent bc3b35f5c3
commit 375f00b6ea

View file

@ -58,8 +58,9 @@ function draw() {
var nbr = String.prototype.toUpperCase(nombres[n]); var nbr = String.prototype.toUpperCase(nombres[n]);
if (dimr[n] != -1 || !compara(mc,color(colores[n]))) fill(0); if (dimr[n] != -1 || !compara(mc,color(colores[n]))) fill(0);
else fill(0); else fill(0);
//textStyle(BOLD); textStyle(BOLD);
text(nbr, x[n], y[n]-10);
text(nombres[n], x[n], y[n]-10);
textStyle(NORMAL); textStyle(NORMAL);
if (compara(mc,color(colores[n]))) { if (compara(mc,color(colores[n]))) {
text("Plan inicial: " + dim[n]+" Has", x[n], y[n]+5); text("Plan inicial: " + dim[n]+" Has", x[n], y[n]+5);