Mercurial > gemma
changeset 3242:3b770f8273b6
client: diagram-template: fix bug with font size
author | Fadi Abbud <fadi.abbud@intevation.de> |
---|---|
date | Fri, 10 May 2019 14:18:20 +0200 |
parents | ecfa09241437 |
children | e9c143436432 |
files | client/src/components/gauge/HydrologicalConditions.vue client/src/components/gauge/Waterlevel.vue |
diffstat | 2 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/client/src/components/gauge/HydrologicalConditions.vue Fri May 10 13:11:24 2019 +0200 +++ b/client/src/components/gauge/HydrologicalConditions.vue Fri May 10 14:18:20 2019 +0200 @@ -239,7 +239,7 @@ e.position, e.offset || defaultOffset, e.width || defaultWidth, - e.fontSize || defaultFontSize, + e.fontsize || defaultFontSize, e.color || defaultTextColor, e.text ); @@ -265,7 +265,7 @@ e.height, e.rounding === 0 || e.rounding ? e.rounding : defaultRounding, e.padding || defaultPadding, - e.fontSize || defaultFontSize, + e.fontsize || defaultFontSize, e.color || defaultTextColor, e.background || defaultBgColor, e.text,
--- a/client/src/components/gauge/Waterlevel.vue Fri May 10 13:11:24 2019 +0200 +++ b/client/src/components/gauge/Waterlevel.vue Fri May 10 14:18:20 2019 +0200 @@ -238,7 +238,7 @@ e.position, e.offset || defaultOffset, e.width || defaultWidth, - e.fontSize || defaultFontSize, + e.fontsize || defaultFontSize, e.color || defaultTextColor, e.text ); @@ -275,12 +275,13 @@ e.height, e.rounding === 0 || e.rounding ? e.rounding : defaultRounding, e.padding || defaultPadding, - e.fontSize || defaultFontSize, + e.fontsize || defaultFontSize, e.color || defaultTextColor, e.background || defaultBgColor, e.text, e.brcolor || defaultBorderColor ); + break; } } });