Closed demershov closed 5 years ago
There is the bug with processing the user's font size (dynamicStyle). On line 286 in GanttElastic.vue, fontSize property was got from userOptions.
function prepareStyle(userStyle) { let fontSize = '12px'; let fontFamily = window .getComputedStyle(document.body) .getPropertyValue('font-family') .toString(); if (typeof userStyle !== 'undefined') { if (typeof userStyle.fontSize !== 'undefined') { fontSize = userOptions.fontSize; } if (typeof userStyle.fontFamily !== 'undefined') { fontFamily = userStyle.fontFamily; } } return getStyle(fontSize, fontFamily); }
fontSize = userOptions.fontSize;
The correct behavior is't to get fontSize property from userStyle object.
fontSize = userStyle.fontSize;
aww, ok, thanks
thanks :)
1.0.10
There is the bug with processing the user's font size (dynamicStyle). On line 286 in GanttElastic.vue, fontSize property was got from userOptions.
The correct behavior is't to get fontSize property from userStyle object.