Mercurial > gemma
comparison client/src/components/gauge/Waterlevel.vue @ 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 | 5e773e0c05be |
children | 3159ee3bcb16 |
comparison
equal
deleted
inserted
replaced
3241:ecfa09241437 | 3242:3b770f8273b6 |
---|---|
236 case "text": { | 236 case "text": { |
237 this.addText( | 237 this.addText( |
238 e.position, | 238 e.position, |
239 e.offset || defaultOffset, | 239 e.offset || defaultOffset, |
240 e.width || defaultWidth, | 240 e.width || defaultWidth, |
241 e.fontSize || defaultFontSize, | 241 e.fontsize || defaultFontSize, |
242 e.color || defaultTextColor, | 242 e.color || defaultTextColor, |
243 e.text | 243 e.text |
244 ); | 244 ); |
245 break; | 245 break; |
246 } | 246 } |
273 e.offset || defaultOffset, | 273 e.offset || defaultOffset, |
274 e.width, | 274 e.width, |
275 e.height, | 275 e.height, |
276 e.rounding === 0 || e.rounding ? e.rounding : defaultRounding, | 276 e.rounding === 0 || e.rounding ? e.rounding : defaultRounding, |
277 e.padding || defaultPadding, | 277 e.padding || defaultPadding, |
278 e.fontSize || defaultFontSize, | 278 e.fontsize || defaultFontSize, |
279 e.color || defaultTextColor, | 279 e.color || defaultTextColor, |
280 e.background || defaultBgColor, | 280 e.background || defaultBgColor, |
281 e.text, | 281 e.text, |
282 e.brcolor || defaultBorderColor | 282 e.brcolor || defaultBorderColor |
283 ); | 283 ); |
284 break; | |
284 } | 285 } |
285 } | 286 } |
286 }); | 287 }); |
287 } | 288 } |
288 this.pdf.doc.save( | 289 this.pdf.doc.save( |