#642 closed defect (fixed)
Typo in svg.js setDimensions
Reported by: | Owned by: | anonymous | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Core | Version: | 0.2 |
Keywords: | svg setDimensions | Cc: | |
Blocked By: | Blocking: |
Description
patch:
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
Milestone: | → 0.3release |
---|
comment:2 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Committed, changeset #3658.
Note: See
TracTickets for help on using
tickets.
Thanks for the catch, I'll change this shortly.