We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d31ce7a + f30df02 commit d36035eCopy full SHA for d36035e
src/components/GardenPlanner.vue
@@ -112,6 +112,7 @@ const {
112
const handlePaletteDragStart = (event: PointerEvent, plantId: string) => {
113
// Forward the drag start to the canvas component
114
if (canvasRef.value && 'startPaletteDrag' in canvasRef.value) {
115
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
116
const canvas = canvasRef.value as { startPaletteDrag: (event: PointerEvent, plantId: string) => void };
117
canvas.startPaletteDrag(event, plantId);
118
}
0 commit comments