Skip to content

Commit 771f49b

Browse files
Update the switch mode label for the transform controls (#730)
1 parent ab4d79a commit 771f49b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/base/src/3dview/mainview.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1985,7 +1985,9 @@ export class MainView extends React.Component<IProps, IStates> {
19851985
{isTransformOrClipEnabled && (
19861986
<div>
19871987
<div style={{ marginBottom: '2px' }}>
1988-
Press R to switch mode
1988+
{this.state.transformMode === 'rotate'
1989+
? 'Press R to switch to translation mode'
1990+
: 'Press R to switch to rotation mode'}
19891991
</div>
19901992
{this.state.transformMode === 'rotate' && (
19911993
<div>

0 commit comments

Comments
 (0)