Hi guys I have this code: http://fiddle.jshell.net/qhfvpj4z/9/ When You pick color and click button "wypełnij". Next click to image. I dont know why clicking filled many elements of image. I want filled only one element of svg. Element which user click. Can anyone help me?
If one image has a broken line the color will "spill over" to the next image. It works the same way with any other image editor. For a more precise coloring you usually use a brush not a paint bucket.
look, this line is not broken for sure. I need to make this paint bucket functionality. I can proof You that line is not broken. Just check this example there is the same image but now at even run he automatically fill each of shape. Check this: http://fiddle.jshell.net/qhfvpj4z/12/