UI fix: Collapsed 2dMPR button to main toolbar
This commit is contained in:
1 parent
6a5ebb3e25
commit
c57298475a
2 files changed
+4
-9
No files matched your search
@@ -5,7 +5,7 @@ import './PluginSwitch.css';
|
||||
|
||||
class PluginSwitch extends Component {
|
||||
static propTypes = {
|
||||
button: PropTypes.any,
|
||||
mpr: PropTypes.func,
|
||||
};
|
||||
|
||||
static defaultProps = {};
|
||||
@@ -15,7 +15,7 @@ class PluginSwitch extends Component {
|
||||
<div className="PluginSwitch">
|
||||
<ToolbarButton label = "2D MPR"
|
||||
icon = "cube"
|
||||
onClick = {this.props.button.onClick} />
|
||||
onClick = {this.props.mpr} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user