Skip to content
Snippets Groups Projects
Commit fe4b5f74 authored by Paul Kaplan's avatar Paul Kaplan
Browse files

Fix rotation styles import

parent ed0bb757
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@ import bindAll from 'lodash.bindall';
import PropTypes from 'prop-types';
import React from 'react';
import DirectionComponent, {RotationStyle} from '../components/direction-picker/direction-picker.jsx';
import DirectionComponent, {RotationStyles} from '../components/direction-picker/direction-picker.jsx';
class DirectionPicker extends React.Component {
constructor (props) {
......@@ -25,13 +25,13 @@ class DirectionPicker extends React.Component {
this.setState({popoverOpen: false});
}
handleClickAllAround () {
this.props.onChangeRotationStyle(RotationStyle.ALL_AROUND);
this.props.onChangeRotationStyle(RotationStyles.ALL_AROUND);
}
handleClickLeftRight () {
this.props.onChangeRotationStyle(RotationStyle.LEFT_RIGHT);
this.props.onChangeRotationStyle(RotationStyles.LEFT_RIGHT);
}
handleClickDontRotate () {
this.props.onChangeRotationStyle(RotationStyle.DONT_ROTATE);
this.props.onChangeRotationStyle(RotationStyles.DONT_ROTATE);
}
render () {
return (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment