Opened 8 years ago

Closed 8 years ago

#13406 closed defect (fixed)

[patch][ccla] Rect.setShape() may not reset the corner radius using SVG renderer

Reported by: Patrick Ruzand Owned by: Eugene Lazutkin
Priority: high Milestone: 1.7
Component: DojoX GFX Version: 1.7.0b1
Keywords: Cc: pruzand@…
Blocked By: Blocking:

Description

Using the svg renderer, if a Rect is initialized with a corner radius != 0, setting a new shape with a corner radius of 0 has no effect.

That is: surface.createRect({r:50}).setShape({r:0}) will create a Rect with round corners.

Attachments (1)

13406.patch (1.4 KB) - added by Patrick Ruzand 8 years ago.
patch from Patrick Ruzand (IBM, CCLA)

Download all attachments as: .zip

Change History (3)

Changed 8 years ago by Patrick Ruzand

Attachment: 13406.patch added

patch from Patrick Ruzand (IBM, CCLA)

comment:1 Changed 8 years ago by Chris Mitchell

Resolution: fixed
Status: newclosed

In [26233]:

fixes #13406 Rect.setShape may not reset the corner radius using SVG renderer. thx pruzand IBM \!strict

comment:2 Changed 8 years ago by bill

Milestone: tbd1.7
Note: See TracTickets for help on using tickets.