vislite 0.8.2-alpha.0 → 0.8.2-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/CHANGELOG +6 -1
  2. package/lib/Buffer/index.umd.js +2 -2
  3. package/lib/Buffer/index.umd.min.js +2 -2
  4. package/lib/Canvas/index.umd.js +4 -4
  5. package/lib/Canvas/index.umd.min.js +3 -3
  6. package/lib/Cardinal/index.umd.js +2 -2
  7. package/lib/Cardinal/index.umd.min.js +2 -2
  8. package/lib/Eoap/index.umd.js +2 -2
  9. package/lib/Eoap/index.umd.min.js +2 -2
  10. package/lib/Geometry/index.umd.js +2 -2
  11. package/lib/Geometry/index.umd.min.js +2 -2
  12. package/lib/Hermite/index.umd.js +2 -2
  13. package/lib/Hermite/index.umd.min.js +2 -2
  14. package/lib/Matrix4/index.umd.js +2 -2
  15. package/lib/Matrix4/index.umd.min.js +2 -2
  16. package/lib/Mercator/index.umd.js +2 -2
  17. package/lib/Mercator/index.umd.min.js +2 -2
  18. package/lib/OralCanvas/index.es.js +4 -4
  19. package/lib/OralCanvas/index.es.min.js +3 -3
  20. package/lib/OralWebGL/index.es.js +2 -2
  21. package/lib/OralWebGL/index.es.min.js +2 -2
  22. package/lib/SVG/index.umd.js +8 -8
  23. package/lib/SVG/index.umd.min.js +3 -3
  24. package/lib/Shader/index.umd.js +2 -2
  25. package/lib/Shader/index.umd.min.js +2 -2
  26. package/lib/Texture/index.umd.js +2 -2
  27. package/lib/Texture/index.umd.min.js +2 -2
  28. package/lib/TreeLayout/index.umd.js +2 -2
  29. package/lib/TreeLayout/index.umd.min.js +2 -2
  30. package/lib/WebGL/index.umd.js +2 -2
  31. package/lib/WebGL/index.umd.min.js +2 -2
  32. package/lib/animation/index.umd.js +2 -2
  33. package/lib/animation/index.umd.min.js +2 -2
  34. package/lib/formatColor/index.umd.js +2 -2
  35. package/lib/formatColor/index.umd.min.js +2 -2
  36. package/lib/getLoopColors/index.umd.js +2 -2
  37. package/lib/getLoopColors/index.umd.min.js +2 -2
  38. package/lib/getWebGLContext/index.umd.js +2 -2
  39. package/lib/getWebGLContext/index.umd.min.js +2 -2
  40. package/lib/index.umd.js +10 -10
  41. package/lib/index.umd.min.js +3 -3
  42. package/lib/move/index.umd.js +2 -2
  43. package/lib/move/index.umd.min.js +2 -2
  44. package/lib/resizeObserver/index.umd.js +2 -2
  45. package/lib/resizeObserver/index.umd.min.js +2 -2
  46. package/lib/rotate/index.umd.js +2 -2
  47. package/lib/rotate/index.umd.min.js +2 -2
  48. package/lib/ruler/index.umd.js +2 -2
  49. package/lib/ruler/index.umd.min.js +2 -2
  50. package/lib/scale/index.umd.js +2 -2
  51. package/lib/scale/index.umd.min.js +2 -2
  52. package/lib/throttle/index.umd.js +2 -2
  53. package/lib/throttle/index.umd.min.js +2 -2
  54. package/lib/viewHandler/index.umd.js +2 -2
  55. package/lib/viewHandler/index.umd.min.js +2 -2
  56. package/miniprogram/ui-canvas/index.js +6 -4
  57. package/package.json +1 -1
  58. package/src/common/canvas/painter.ts +3 -3
  59. package/src/common/svg/config.ts +3 -1
  60. package/src/common/svg/index.ts +3 -3
  61. package/src/common/svg/tool.ts +0 -2
@@ -264,17 +264,17 @@ class SVG {
264
264
  return this
265
265
  }
266
266
  fill() {
267
- initPath(this.__useEl, this.__path)
267
+ initPath(this.__useEl, this.__path, this.__config)
268
268
  fill(this.__useEl, this.__config)
269
269
  return this
270
270
  }
271
271
  stroke() {
272
- initPath(this.__useEl, this.__path)
272
+ initPath(this.__useEl, this.__path, this.__config)
273
273
  stroke(this.__useEl, this.__config)
274
274
  return this
275
275
  }
276
276
  full() {
277
- initPath(this.__useEl, this.__path);
277
+ initPath(this.__useEl, this.__path, this.__config)
278
278
  full(this.__useEl, this.__config)
279
279
  return this
280
280
  }
@@ -31,7 +31,6 @@ export function getAttribute(el: SVGElement, key: string) {
31
31
  export function full(el: SVGElement, config: SVGConfigType) {
32
32
  _setAttribute(el, "stroke", config.strokeStyle as string)
33
33
  _setAttribute(el, "fill", config.fillStyle as string)
34
- _setAttribute(el, "stroke-dasharray", (config.lineDash as Array<number>).join(','))
35
34
  }
36
35
 
37
36
  export function fill(el: SVGElement, config: SVGConfigType) {
@@ -41,5 +40,4 @@ export function fill(el: SVGElement, config: SVGConfigType) {
41
40
  export function stroke(el: SVGElement, config: SVGConfigType) {
42
41
  _setAttribute(el, "stroke", config.strokeStyle as string)
43
42
  _setAttribute(el, "fill", "none")
44
- _setAttribute(el, "stroke-dasharray", (config.lineDash as Array<number>).join(','))
45
43
  }