File tree Expand file tree Collapse file tree 3 files changed +62
-61
lines changed
test/integration/test_cases Expand file tree Collapse file tree 3 files changed +62
-61
lines changed Original file line number Diff line number Diff line change 77- Marker guides switch off on polar scatterplots for performance purposes.
88- Fixed unintentional size change of circle markers during polar-cartesian
99 coordinate system change.
10+ - Fixed line width animation when geometry is changing.
1011
1112## [ 0.5.1] - 2022-07-14
1213
Original file line number Diff line number Diff line change @@ -177,6 +177,10 @@ void drawItem::draw(
177177
178178 auto colors = getColor (drawItem, factor);
179179
180+ canvas.setLineColor (colors.first );
181+ canvas.setLineWidth (*style.plot .marker .borderWidth );
182+ canvas.setBrushColor (colors.second );
183+
180184 if (line)
181185 {
182186 if (events.plot .marker .base
@@ -189,17 +193,13 @@ void drawItem::draw(
189193 }
190194 else
191195 {
192- canvas.setLineColor (colors.first );
193- canvas.setLineWidth (
194- *style.plot .marker .borderWidth );
195- canvas.setBrushColor (colors.second );
196196 if (events.plot .marker .base
197197 ->invoke (Events::OnRectDrawParam (drawItem.getBoundary ())))
198198 {
199199 painter.drawPolygon (drawItem.points );
200200 }
201- canvas.setLineWidth (0 );
202201 }
202+ canvas.setLineWidth (0 );
203203}
204204
205205void drawItem::drawLabel (const DrawItem &drawItem, size_t index)
You can’t perform that action at this time.
0 commit comments