hyperprop-charting-library 0.1.86 → 0.1.87
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.
|
@@ -2670,7 +2670,12 @@ function createChart(element, options = {}) {
|
|
|
2670
2670
|
ctx.restore();
|
|
2671
2671
|
ctx.font = prevFont;
|
|
2672
2672
|
if (isSelected) {
|
|
2673
|
-
|
|
2673
|
+
ctx.save();
|
|
2674
|
+
ctx.strokeStyle = hexToRgba(drawing.color, 0.9);
|
|
2675
|
+
ctx.lineWidth = 1;
|
|
2676
|
+
ctx.setLineDash([]);
|
|
2677
|
+
strokeRoundedRect(ax - 2, ay - 2, blockW + 4, blockH + 4, 3);
|
|
2678
|
+
ctx.restore();
|
|
2674
2679
|
}
|
|
2675
2680
|
}
|
|
2676
2681
|
}
|
|
@@ -2644,7 +2644,12 @@ function createChart(element, options = {}) {
|
|
|
2644
2644
|
ctx.restore();
|
|
2645
2645
|
ctx.font = prevFont;
|
|
2646
2646
|
if (isSelected) {
|
|
2647
|
-
|
|
2647
|
+
ctx.save();
|
|
2648
|
+
ctx.strokeStyle = hexToRgba(drawing.color, 0.9);
|
|
2649
|
+
ctx.lineWidth = 1;
|
|
2650
|
+
ctx.setLineDash([]);
|
|
2651
|
+
strokeRoundedRect(ax - 2, ay - 2, blockW + 4, blockH + 4, 3);
|
|
2652
|
+
ctx.restore();
|
|
2648
2653
|
}
|
|
2649
2654
|
}
|
|
2650
2655
|
}
|
package/dist/index.cjs
CHANGED
|
@@ -2670,7 +2670,12 @@ function createChart(element, options = {}) {
|
|
|
2670
2670
|
ctx.restore();
|
|
2671
2671
|
ctx.font = prevFont;
|
|
2672
2672
|
if (isSelected) {
|
|
2673
|
-
|
|
2673
|
+
ctx.save();
|
|
2674
|
+
ctx.strokeStyle = hexToRgba(drawing.color, 0.9);
|
|
2675
|
+
ctx.lineWidth = 1;
|
|
2676
|
+
ctx.setLineDash([]);
|
|
2677
|
+
strokeRoundedRect(ax - 2, ay - 2, blockW + 4, blockH + 4, 3);
|
|
2678
|
+
ctx.restore();
|
|
2674
2679
|
}
|
|
2675
2680
|
}
|
|
2676
2681
|
}
|
package/dist/index.js
CHANGED
|
@@ -2644,7 +2644,12 @@ function createChart(element, options = {}) {
|
|
|
2644
2644
|
ctx.restore();
|
|
2645
2645
|
ctx.font = prevFont;
|
|
2646
2646
|
if (isSelected) {
|
|
2647
|
-
|
|
2647
|
+
ctx.save();
|
|
2648
|
+
ctx.strokeStyle = hexToRgba(drawing.color, 0.9);
|
|
2649
|
+
ctx.lineWidth = 1;
|
|
2650
|
+
ctx.setLineDash([]);
|
|
2651
|
+
strokeRoundedRect(ax - 2, ay - 2, blockW + 4, blockH + 4, 3);
|
|
2652
|
+
ctx.restore();
|
|
2648
2653
|
}
|
|
2649
2654
|
}
|
|
2650
2655
|
}
|