Skip to content

Commit

Permalink
chore(Canvas): Remove unused tooltipContext
Browse files Browse the repository at this point in the history
  • Loading branch information
techniq committed Feb 12, 2025
1 parent 4c73aca commit dcf6c2e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/layerchart/src/lib/components/layout/Canvas.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
import { getPixelColor, scaleCanvas, type ComputedStylesOptions } from '../../utils/canvas.js';
import { getColorStr, rgbColorGenerator } from '../../utils/color.js';
import { localPoint } from '../../utils/event.js';
import { tooltipContext } from '../tooltip/TooltipContext.svelte';
const { width, height, containerWidth, containerHeight, padding } = chartContext();
Expand Down Expand Up @@ -93,7 +92,6 @@
let frameId: number | undefined;
const { mode, scale, translate, dragging, moving } = transformContext();
const tooltip = tooltipContext();
/**
* HitCanvas
Expand Down

0 comments on commit dcf6c2e

Please # to comment.