1
0
Fork 0

wip(sde): Working on file list

This commit is contained in:
joostdecock 2023-09-29 16:01:27 +02:00
parent 9929aed51a
commit c65c5876a3
199 changed files with 1065 additions and 196 deletions

View file

@ -1,3 +1,4 @@
// __SDEFILE__ - This file is a dependency for the stand-alone environment
/*
* This React component is a long way from perfect, but it's a start for
* handling custom layouts.
@ -40,12 +41,10 @@
* Known issues
* - currently none
*
* I've sort of left it at this because I'm starting to wonder if we should perhaps re-think
* how custom layouts are supported in the core. And I would like to discuss this with the core team.
*/
import { useRef, useState, useEffect, useCallback } from 'react'
import { generateStackTransform, getTransformedBounds } from '@freesewing/core'
import { getProps } from 'pkgs/react-components/src/pattern/utils.mjs'
import { getProps } from 'pkgs/react-components/src/index.mjs'
import { angle } from '../utils.mjs'
import { drag } from 'd3-drag'
import { select } from 'd3-selection'