svelteplot 0.4.3-pr-199.7 → 0.4.3-pr-199.9

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.
@@ -55,18 +55,18 @@
55
55
  : [
56
56
  args.x != null
57
57
  ? d.x
58
- : isLeft
59
- ? plot.options.marginLeft
60
- : isRight
61
- ? plot.options.marginLeft + plot.facetWidth
62
- : plot.options.marginLeft + plot.facetWidth * 0.5,
58
+ : (isLeft
59
+ ? plot.options.marginLeft
60
+ : isRight
61
+ ? plot.options.marginLeft + plot.facetWidth
62
+ : plot.options.marginLeft + plot.facetWidth * 0.5) + (d.dx ?? 0),
63
63
  args.y != null
64
64
  ? d.y
65
- : isTop
66
- ? plot.options.marginTop
67
- : isBottom
68
- ? plot.options.marginTop + plot.facetHeight
69
- : plot.options.marginTop + plot.facetHeight * 0.5
65
+ : (isTop
66
+ ? plot.options.marginTop
67
+ : isBottom
68
+ ? plot.options.marginTop + plot.facetHeight
69
+ : plot.options.marginTop + plot.facetHeight * 0.5) + (d.dy ?? 0)
70
70
  ]
71
71
  );
72
72
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svelteplot",
3
- "version": "0.4.3-pr-199.7",
3
+ "version": "0.4.3-pr-199.9",
4
4
  "license": "ISC",
5
5
  "author": {
6
6
  "name": "Gregor Aisch",