editor: hotkeys added

This commit is contained in:
muerwre 2018-12-10 11:29:26 +07:00
parent d95f51bd3b
commit 25ae7f8282
9 changed files with 48 additions and 17 deletions

View file

@ -34,7 +34,7 @@ class Component extends React.Component<Props, State> {
};
componentWillUnmount() {
this.croppr.destroy();
if (this.croppr) this.croppr.destroy();
}
onCropInit = (crop) => {