svelte-plots-basic 4.1.0 → 4.1.1

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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "svelte-plots-basic",
3
3
  "description": "Svelte components for creating simple plots",
4
- "version": "4.1.0",
4
+ "version": "4.1.1",
5
5
  "author": "Sergey Kucheryavskiy",
6
6
  "license": "MIT",
7
7
  "private": false,
@@ -104,7 +104,7 @@
104
104
  <!-- svelte-ignore a11y_no_static_element_interactions -->
105
105
  <g class="series {className}" style={barsStyleStr} onclick={(e) => handleClick(e, 'rect', onclick)} >
106
106
  {#each left as v, i}
107
- <rect x={rx[i]} y={ry[i]} width={rw[i]} height={rh[i]} />
107
+ <rect x={rx[i]} y={ry[i]} width={Math.abs(rw[i])} height={rh[i]} />
108
108
  {/each}
109
109
  </g>
110
110
  {/if}