Skip to content

Commit

Permalink
Added title
Browse files Browse the repository at this point in the history
  • Loading branch information
bsekachev committed Jun 9, 2020
1 parent 4a0df1a commit 5b9f8a1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ export default function ControlsSideBarComponent(props: Props): JSX.Element {
/>
<SplitControl
canvasInstance={canvasInstance}
switchSplitShortcut={normalizedKeyMap.SWITCH_SPLIT_MODE}
activeControl={activeControl}
splitTrack={splitTrack}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@ import { ActiveControl } from 'reducers/interfaces';
interface Props {
canvasInstance: Canvas;
activeControl: ActiveControl;

switchSplitShortcut: string;
splitTrack(enabled: boolean): void;
}

function SplitControl(props: Props): JSX.Element {
const {
switchSplitShortcut,
activeControl,
canvasInstance,
splitTrack,
Expand All @@ -40,7 +41,7 @@ function SplitControl(props: Props): JSX.Element {
};

return (
<Tooltip title='Split a track' placement='right'>
<Tooltip title={`Split a track ${switchSplitShortcut}`} placement='right'>
<Icon {...dynamicIconProps} component={SplitIcon} />
</Tooltip>
);
Expand Down

0 comments on commit 5b9f8a1

Please sign in to comment.