diff --git a/src/app/magiclayout.ts b/src/app/magiclayout.ts index 453dbf1c8..a96cdec67 100644 --- a/src/app/magiclayout.ts +++ b/src/app/magiclayout.ts @@ -22,7 +22,7 @@ let MagicLayout = { TermDescendersHeight: 3, TermWidthBuffer: 15, - TabWidth: 175, + TabWidth: 154, ScreenSidebarWidthPadding: 5, ScreenSidebarMinWidth: 200, diff --git a/src/app/workspace/screen/tabs.tsx b/src/app/workspace/screen/tabs.tsx index c2211a5cf..760fc873c 100644 --- a/src/app/workspace/screen/tabs.tsx +++ b/src/app/workspace/screen/tabs.tsx @@ -21,7 +21,6 @@ class ScreenTabs extends React.Component< { showingScreens: Screen[]; scrollIntoViewTimeout: number } > { tabsRef: React.RefObject = React.createRef(); - tabRefs: { [screenId: string]: React.RefObject } = {}; lastActiveScreenId: string = null; dragEndTimeout = null; scrollIntoViewTimeoutId = null; @@ -169,16 +168,6 @@ class ScreenTabs extends React.Component< // For touchpad events, do nothing and let the browser handle it } - @boundMethod - openScreenSettings(e: any, screen: Screen): void { - e.preventDefault(); - e.stopPropagation(); - mobx.action(() => { - GlobalModel.screenSettingsModal.set({ sessionId: screen.sessionId, screenId: screen.screenId }); - })(); - GlobalModel.modalsModel.pushModal(constants.SCREEN_SETTINGS); - } - render() { let { showingScreens } = this.state; let { session } = this.props;