Fix style readout for border width

Co-authored-by: Tan Li Hau <tanhauhau@users.noreply.github.com>
pull/6183/head
Theodor Steiner 5 years ago committed by Theodor Steiner
parent 03fb7da9a6
commit 10e36979ab

@ -117,7 +117,7 @@ export function slide(node: Element, {
const margin_first_value = parseFloat(style.margin + secondary_dimensions[0]);
const margin_second_value = parseFloat(style.margin + secondary_dimensions[1]);
const border_width_first_value = parseFloat(style['border'.concat(secondary_dimensions[0].concat('Width'))]);
const border_width_second_value = parseFloat(style['border'.concat(secondary_dimensions[1].concat('Width'))]);
const border_width_second_value = parseFloat(style[`border${secondary_dimensions[1]}Width`]);
return {
delay,
duration,

Loading…
Cancel
Save