From 25d24585b8552fc7b36df0f06af2363dd48d0c1b Mon Sep 17 00:00:00 2001 From: abe- Date: Sat, 17 Jun 2017 17:18:45 +0200 Subject: [PATCH] parcelas --- docs/graficos/parcelas.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/graficos/parcelas.js b/docs/graficos/parcelas.js index 6a12b9a..c340cea 100644 --- a/docs/graficos/parcelas.js +++ b/docs/graficos/parcelas.js @@ -25,8 +25,8 @@ function preload() { function setup() { pg = createGraphics(800, 519); var as = 519. / 800.; - var w = windowWidth; - var h = windowWidth*as; + var w = document.innerWidth; + var h = document.innerHeight*as; createCanvas(w,h); nombres = new Array("Norte","Duero","Ebro","Pirineo","Jucar","Tajo","Guadiana","Guadalquivir","Sur", "Segura", "Baleares y Canarias");