This commit fixes issue with invisible circle progressbars. Thorvg
resets stroke width and color information. We have to set it again to
use reset api in the same way as it is designed in ector mode.
Change-Id: I8310455ba64333ee767b90c0d6002945024e51b6
Efl_Canvas_Vg_Node_Data *nd = NULL;
Efl_Canvas_Vg_Shape_Data *sd = NULL;
+ uint8_t r, g, b, a;
+
if (!obj) return;
nd = efl_data_scope_get(obj, EFL_CANVAS_VG_NODE_CLASS);
sd->fill = NULL;
}
+ tvg_shape_get_stroke_color(sd->shape, &r, &g, &b, &a);
tvg_shape_reset(sd->shape);
+
+ tvg_shape_set_stroke_width(sd->shape, sd->scale * sd->width);
+ tvg_shape_set_stroke_color(sd->shape, r, g, b, a);
}
static void