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
@@ -38,18 +38,13 @@ const mergeProps = (propsFromState, propsFromDispatch, ownProps) => {
|
||||
|
||||
// TODO: Do not display certain options if the current display set
|
||||
// cannot be displayed using these view types
|
||||
const button =
|
||||
{
|
||||
label: "2D MPR",
|
||||
icon: "cube",
|
||||
onClick: () => {
|
||||
const mpr = () => {
|
||||
commandsManager.runCommand("mpr2d");
|
||||
}
|
||||
}
|
||||
;
|
||||
|
||||
return {
|
||||
button
|
||||
mpr
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user