|
|
|
|
@ -113,7 +113,7 @@ function ItemButtonsComponent(props: Props): JSX.Element {
|
|
|
|
|
<Col>
|
|
|
|
|
{ navigatePrevKeyframe
|
|
|
|
|
? (
|
|
|
|
|
<Tooltip title={`Go to previous keyframe ${prevKeyFrameShortcut}`}>
|
|
|
|
|
<Tooltip title={`Go to previous keyframe ${prevKeyFrameShortcut}`} mouseLeaveDelay={0}>
|
|
|
|
|
<Icon
|
|
|
|
|
component={PreviousIcon}
|
|
|
|
|
onClick={navigatePrevKeyframe}
|
|
|
|
|
@ -125,7 +125,7 @@ function ItemButtonsComponent(props: Props): JSX.Element {
|
|
|
|
|
<Col>
|
|
|
|
|
{ navigateNextKeyframe
|
|
|
|
|
? (
|
|
|
|
|
<Tooltip title={`Go to next keyframe ${nextKeyFrameShortcut}`}>
|
|
|
|
|
<Tooltip title={`Go to next keyframe ${nextKeyFrameShortcut}`} mouseLeaveDelay={0}>
|
|
|
|
|
<Icon
|
|
|
|
|
component={NextIcon}
|
|
|
|
|
onClick={navigateNextKeyframe}
|
|
|
|
|
@ -142,7 +142,7 @@ function ItemButtonsComponent(props: Props): JSX.Element {
|
|
|
|
|
</Row>
|
|
|
|
|
<Row type='flex' justify='space-around'>
|
|
|
|
|
<Col>
|
|
|
|
|
<Tooltip title={`Switch outside property ${switchOutsideShortcut}`}>
|
|
|
|
|
<Tooltip title={`Switch outside property ${switchOutsideShortcut}`} mouseLeaveDelay={0}>
|
|
|
|
|
{ outside
|
|
|
|
|
? (
|
|
|
|
|
<Icon
|
|
|
|
|
@ -155,28 +155,28 @@ function ItemButtonsComponent(props: Props): JSX.Element {
|
|
|
|
|
</Tooltip>
|
|
|
|
|
</Col>
|
|
|
|
|
<Col>
|
|
|
|
|
<Tooltip title={`Switch lock property ${switchLockShortcut}`}>
|
|
|
|
|
<Tooltip title={`Switch lock property ${switchLockShortcut}`} mouseLeaveDelay={0}>
|
|
|
|
|
{ locked
|
|
|
|
|
? <Icon type='lock' theme='filled' onClick={unlock} />
|
|
|
|
|
: <Icon type='unlock' onClick={lock} />}
|
|
|
|
|
</Tooltip>
|
|
|
|
|
</Col>
|
|
|
|
|
<Col>
|
|
|
|
|
<Tooltip title={`Switch occluded property ${switchOccludedShortcut}`}>
|
|
|
|
|
<Tooltip title={`Switch occluded property ${switchOccludedShortcut}`} mouseLeaveDelay={0}>
|
|
|
|
|
{ occluded
|
|
|
|
|
? <Icon type='team' onClick={unsetOccluded} />
|
|
|
|
|
: <Icon type='user' onClick={setOccluded} />}
|
|
|
|
|
</Tooltip>
|
|
|
|
|
</Col>
|
|
|
|
|
<Col>
|
|
|
|
|
<Tooltip title={`Switch hidden property ${switchHiddenShortcut}`}>
|
|
|
|
|
<Tooltip title={`Switch hidden property ${switchHiddenShortcut}`} mouseLeaveDelay={0}>
|
|
|
|
|
{ hidden
|
|
|
|
|
? <Icon type='eye-invisible' theme='filled' onClick={show} style={hiddenStyle} />
|
|
|
|
|
: <Icon type='eye' onClick={hide} style={hiddenStyle} />}
|
|
|
|
|
</Tooltip>
|
|
|
|
|
</Col>
|
|
|
|
|
<Col>
|
|
|
|
|
<Tooltip title={`Switch keyframe property ${switchKeyFrameShortcut}`}>
|
|
|
|
|
<Tooltip title={`Switch keyframe property ${switchKeyFrameShortcut}`} mouseLeaveDelay={0}>
|
|
|
|
|
{ keyframe
|
|
|
|
|
? <Icon type='star' theme='filled' onClick={unsetKeyframe} style={keyframeStyle} />
|
|
|
|
|
: <Icon type='star' onClick={setKeyframe} style={keyframeStyle} />}
|
|
|
|
|
@ -185,7 +185,7 @@ function ItemButtonsComponent(props: Props): JSX.Element {
|
|
|
|
|
{
|
|
|
|
|
shapeType !== ShapeType.POINTS && (
|
|
|
|
|
<Col>
|
|
|
|
|
<Tooltip title='Switch pinned property'>
|
|
|
|
|
<Tooltip title='Switch pinned property' mouseLeaveDelay={0}>
|
|
|
|
|
{ pinned
|
|
|
|
|
? <Icon type='pushpin' theme='filled' onClick={unpin} />
|
|
|
|
|
: <Icon type='pushpin' onClick={pin} />}
|
|
|
|
|
@ -205,7 +205,7 @@ function ItemButtonsComponent(props: Props): JSX.Element {
|
|
|
|
|
<Col span={20} style={{ textAlign: 'center' }}>
|
|
|
|
|
<Row type='flex' justify='space-around'>
|
|
|
|
|
<Col>
|
|
|
|
|
<Tooltip title={`Switch lock property ${switchLockShortcut}`}>
|
|
|
|
|
<Tooltip title={`Switch lock property ${switchLockShortcut}`} mouseLeaveDelay={0}>
|
|
|
|
|
{ locked
|
|
|
|
|
? <Icon type='lock' onClick={unlock} theme='filled' />
|
|
|
|
|
: <Icon type='unlock' onClick={lock} />}
|
|
|
|
|
@ -222,21 +222,21 @@ function ItemButtonsComponent(props: Props): JSX.Element {
|
|
|
|
|
<Col span={20} style={{ textAlign: 'center' }}>
|
|
|
|
|
<Row type='flex' justify='space-around'>
|
|
|
|
|
<Col>
|
|
|
|
|
<Tooltip title={`Switch lock property ${switchLockShortcut}`}>
|
|
|
|
|
<Tooltip title={`Switch lock property ${switchLockShortcut}`} mouseLeaveDelay={0}>
|
|
|
|
|
{ locked
|
|
|
|
|
? <Icon type='lock' onClick={unlock} theme='filled' />
|
|
|
|
|
: <Icon type='unlock' onClick={lock} />}
|
|
|
|
|
</Tooltip>
|
|
|
|
|
</Col>
|
|
|
|
|
<Col>
|
|
|
|
|
<Tooltip title={`Switch occluded property ${switchOccludedShortcut}`}>
|
|
|
|
|
<Tooltip title={`Switch occluded property ${switchOccludedShortcut}`} mouseLeaveDelay={0}>
|
|
|
|
|
{ occluded
|
|
|
|
|
? <Icon type='team' onClick={unsetOccluded} />
|
|
|
|
|
: <Icon type='user' onClick={setOccluded} />}
|
|
|
|
|
</Tooltip>
|
|
|
|
|
</Col>
|
|
|
|
|
<Col>
|
|
|
|
|
<Tooltip title={`Switch hidden property ${switchHiddenShortcut}`}>
|
|
|
|
|
<Tooltip title={`Switch hidden property ${switchHiddenShortcut}`} mouseLeaveDelay={0}>
|
|
|
|
|
{ hidden
|
|
|
|
|
? <Icon type='eye-invisible' onClick={show} />
|
|
|
|
|
: <Icon type='eye' onClick={hide} />}
|
|
|
|
|
@ -245,7 +245,7 @@ function ItemButtonsComponent(props: Props): JSX.Element {
|
|
|
|
|
{
|
|
|
|
|
shapeType !== ShapeType.POINTS && (
|
|
|
|
|
<Col>
|
|
|
|
|
<Tooltip title='Switch pinned property'>
|
|
|
|
|
<Tooltip title='Switch pinned property' mouseLeaveDelay={0}>
|
|
|
|
|
{ pinned
|
|
|
|
|
? <Icon type='pushpin' theme='filled' onClick={unpin} />
|
|
|
|
|
: <Icon type='pushpin' onClick={pin} />}
|
|
|
|
|
|