This commit is contained in:
Aria Minaei 2021-09-05 17:45:51 +02:00
parent f24e2b96d5
commit 400b55bf09
4 changed files with 3 additions and 32 deletions

View file

@ -4,7 +4,7 @@ import type {MutableRefObject} from 'react'
import {useLayoutEffect, useRef} from 'react'
import React from 'react'
import useRefAndState from './useRefAndState'
import {studio} from '@theatre/studio'
import studio from '@theatre/studio'
import type {PerspectiveCamera as PerspectiveCameraImpl} from 'three'
import type {ISheet} from '@theatre/core'
import {types} from '@theatre/core'

View file

@ -1,7 +1,6 @@
import SnapshotEditor from './components/SnapshotEditor'
import studio from '@theatre/studio'
import Toolbar from './components/Toolbar/Toolbar'
import {types} from '@theatre/core'
export default function setupPlugin() {
studio.extend({
@ -12,9 +11,6 @@ export default function setupPlugin() {
panes: [
{
class: 'snapshotEditor',
dataType: types.compound({
grosse: types.number(20),
}),
component: SnapshotEditor,
},
],