keyboard hints for undo and redo

This commit is contained in:
Fedor Katurov 2020-01-22 11:54:59 +07:00
parent 4915744c84
commit a1f9704c0b

View file

@ -88,7 +88,7 @@ class EditorPanelUnconnected extends PureComponent<Props, void> {
className={classnames({ inactive: records.length === 0 || position === 0 })} className={classnames({ inactive: records.length === 0 || position === 0 })}
onClick={this.props.editorUndo} onClick={this.props.editorUndo}
> >
<Tooltip>Отмена</Tooltip> <Tooltip>Отмена (z)</Tooltip>
<Icon icon="icon-undo" size={24} /> <Icon icon="icon-undo" size={24} />
</button> </button>
@ -98,7 +98,7 @@ class EditorPanelUnconnected extends PureComponent<Props, void> {
})} })}
onClick={this.props.editorRedo} onClick={this.props.editorRedo}
> >
<Tooltip>Вернуть</Tooltip> <Tooltip>Вернуть (u)</Tooltip>
<Icon icon="icon-redo" size={24} /> <Icon icon="icon-redo" size={24} />
</button> </button>
</div> </div>