svelteplot 0.8.1-pr-283.1 → 0.8.1-pr-283.3
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.
|
@@ -66,10 +66,12 @@ export function createProjection({ projOptions, inset: globalInset = 2, insetTop
|
|
|
66
66
|
invertTransform = ([x, y]) => [(x - tx) / k, (y - ty) / k];
|
|
67
67
|
}
|
|
68
68
|
else {
|
|
69
|
+
// eslint-disable-next-line no-console
|
|
69
70
|
console.warn(`Warning: the projection could not be fit to the specified domain; using the default scale.`);
|
|
70
71
|
}
|
|
71
72
|
}
|
|
72
73
|
else if (domain != null) {
|
|
74
|
+
// eslint-disable-next-line no-console
|
|
73
75
|
console.warn(`Warning: the projection could not be fit to the specified domain; using the default scale.`);
|
|
74
76
|
}
|
|
75
77
|
transform ??=
|
package/dist/marks/Trail.svelte
CHANGED
|
@@ -38,7 +38,6 @@
|
|
|
38
38
|
import trailPath, { type TrailSample } from './helpers/trail.js';
|
|
39
39
|
import TrailCanvas from './helpers/TrailCanvas.svelte';
|
|
40
40
|
import { addEventHandlers } from './helpers/events';
|
|
41
|
-
import { last } from 'es-toolkit';
|
|
42
41
|
import type { CurveFactory } from 'd3-shape';
|
|
43
42
|
|
|
44
43
|
let markProps: TrailMarkProps = $props();
|