raphael-pan-zoom icon indicating copy to clipboard operation
raphael-pan-zoom copied to clipboard

Paths do not enlarge/decrease

Open KSoto opened this issue 12 years ago • 1 comments

Hi! So far the library works great! But I have one issue:

It doesn't seem to enlarge "paths"

I have a bunch of "rect"s, "circ"s, etc. that zoom/scale great, except the "path"s stay the same size.

Here is an example of me zooming in:

Level 0 = 0

Level 1 = 1

Level 2 = 3

You'll see the rectangles, circles, squares and text get bigger, but not the blue lines (they stay the same).

And this is the code that I'm using:

 var line = this.paper.path("M39 33L39 44")
.attr({fill: "lightblue", stroke: "lightblue", "stroke-width": 6});

Is there anything I can do to fix this? Thanks!

KSoto avatar Mar 05 '14 23:03 KSoto

bump

EDIT: oops didn't mean to close the issue, I re-opened it

KSoto avatar Apr 16 '14 00:04 KSoto