comparison client/src/components/gauge/HydrologicalConditions.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 35c124338f36
comparison
equal deleted inserted replaced
3241:ecfa09241437 3242:3b770f8273b6
237 case "text": { 237 case "text": {
238 this.addText( 238 this.addText(
239 e.position, 239 e.position,
240 e.offset || defaultOffset, 240 e.offset || defaultOffset,
241 e.width || defaultWidth, 241 e.width || defaultWidth,
242 e.fontSize || defaultFontSize, 242 e.fontsize || defaultFontSize,
243 e.color || defaultTextColor, 243 e.color || defaultTextColor,
244 e.text 244 e.text
245 ); 245 );
246 break; 246 break;
247 } 247 }
263 e.offset || defaultOffset, 263 e.offset || defaultOffset,
264 e.width, 264 e.width,
265 e.height, 265 e.height,
266 e.rounding === 0 || e.rounding ? e.rounding : defaultRounding, 266 e.rounding === 0 || e.rounding ? e.rounding : defaultRounding,
267 e.padding || defaultPadding, 267 e.padding || defaultPadding,
268 e.fontSize || defaultFontSize, 268 e.fontsize || defaultFontSize,
269 e.color || defaultTextColor, 269 e.color || defaultTextColor,
270 e.background || defaultBgColor, 270 e.background || defaultBgColor,
271 e.text, 271 e.text,
272 e.brcolor || defaultBorderColor 272 e.brcolor || defaultBorderColor
273 ); 273 );