Skip to content

Commit

Permalink
[APM] Remove service map fullscreen control
Browse files Browse the repository at this point in the history
  • Loading branch information
smith committed Jan 29, 2020
1 parent 2f9c41b commit 78b42a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 62 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@
* you may not use this file except in compliance with the Elastic License.
*/

import React, { useContext, useState, useEffect } from 'react';
import { EuiButtonIcon, EuiPanel } from '@elastic/eui';
import theme from '@elastic/eui/dist/eui_theme_light.json';
import styled from 'styled-components';
import { i18n } from '@kbn/i18n';
import React, { useContext, useEffect, useState } from 'react';
import styled from 'styled-components';
import { CytoscapeContext } from './Cytoscape';
import { FullscreenPanel } from './FullscreenPanel';

const ControlsContainer = styled('div')`
left: ${theme.gutterTypes.gutterMedium};
Expand Down Expand Up @@ -75,7 +74,6 @@ export function Controls() {
const minZoom = cy.minZoom();
const isMinZoom = zoom === minZoom;
const increment = (maxZoom - minZoom) / steps;
const mapDomElement = cy.container();
const zoomInLabel = i18n.translate('xpack.apm.serviceMap.zoomIn', {
defaultMessage: 'Zoom in'
});
Expand Down Expand Up @@ -103,7 +101,6 @@ export function Controls() {
title={zoomOutLabel}
/>
</ZoomPanel>
<FullscreenPanel element={mapDomElement} />
</ControlsContainer>
);
}

This file was deleted.

0 comments on commit 78b42a1

Please sign in to comment.