Bugfix
This commit is contained in:
parent
f24e2b96d5
commit
400b55bf09
4 changed files with 3 additions and 32 deletions
|
@ -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'
|
||||
|
|
|
@ -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,
|
||||
},
|
||||
],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue