Opened 15 years ago

Closed 15 years ago

Last modified 13 years ago

#642 closed defect (fixed)

Typo in svg.js setDimensions

Reported by: [email protected] Owned by: anonymous
Priority: high Milestone:
Component: Core Version: 0.2
Keywords: svg setDimensions Cc:
Blocked By: Blocking:



Index: svg.js =================================================================== --- svg.js (revision 134) +++ svg.js (working copy) @@ -113,7 +113,7 @@

will only support shape-based and container elements; path-based elements are ignored. if (node.width){

node.width.baseVal.value = dim.width;

  • node.height.baseVal.vaule = dim.height;

+ node.height.baseVal.value = dim.height;

} else if (node.r){

node.r.baseVal.value = Math.min(dim.width, dim.height)/2;

Change History (3)

comment:1 Changed 15 years ago by Tom Trenka

Milestone: 0.3release

Thanks for the catch, I'll change this shortly.

comment:2 Changed 15 years ago by Tom Trenka

Resolution: fixed
Status: newclosed

Committed, changeset #3658.

comment:3 Changed 13 years ago by (none)

Milestone: 0.3release

Milestone 0.3release deleted

Note: See TracTickets for help on using tickets.