GraphEditorToggle: Remove unecessary sheet
access
This commit is contained in:
parent
63056c5a58
commit
a0994051d6
1 changed files with 0 additions and 1 deletions
|
@ -52,7 +52,6 @@ const GraphEditorToggle: React.FC<{
|
||||||
}> = ({layoutP}) => {
|
}> = ({layoutP}) => {
|
||||||
const isOpen = useVal(layoutP.graphEditorDims.isOpen)
|
const isOpen = useVal(layoutP.graphEditorDims.isOpen)
|
||||||
const toggle = useCallback(() => {
|
const toggle = useCallback(() => {
|
||||||
const sheet = val(layoutP.sheet)
|
|
||||||
const isOpen = val(layoutP.graphEditorDims.isOpen)
|
const isOpen = val(layoutP.graphEditorDims.isOpen)
|
||||||
getStudio()!.transaction(({stateEditors}) => {
|
getStudio()!.transaction(({stateEditors}) => {
|
||||||
stateEditors.studio.historic.panels.sequenceEditor.graphEditor.setIsOpen({
|
stateEditors.studio.historic.panels.sequenceEditor.graphEditor.setIsOpen({
|
||||||
|
|
Loading…
Reference in a new issue