diff --git a/UI/BigComponents/LeftControls.ts b/UI/BigComponents/LeftControls.ts index 952789d762..a75daabd27 100644 --- a/UI/BigComponents/LeftControls.ts +++ b/UI/BigComponents/LeftControls.ts @@ -14,17 +14,10 @@ import FeatureInfoBox from "../Popup/FeatureInfoBox" import CopyrightPanel from "./CopyrightPanel" import FeaturePipelineState from "../../Logic/State/FeaturePipelineState" import Hotkeys from "../Base/Hotkeys" +import { DefaultGuiState } from "../DefaultGuiState" export default class LeftControls extends Combine { - constructor( - state: FeaturePipelineState, - guiState: { - currentViewControlIsOpened: UIEventSource - downloadControlIsOpened: UIEventSource - filterViewIsOpened: UIEventSource - copyrightViewIsOpened: UIEventSource - } - ) { + constructor(state: FeaturePipelineState, guiState: DefaultGuiState) { const currentViewFL = state.currentView?.layer const currentViewAction = new Toggle( new Lazy(() => {