Add fit icon
This commit is contained in:
parent
9c6fde180a
commit
09ef65bc9d
2 changed files with 1 additions and 2 deletions
|
|
@ -610,10 +610,9 @@ namespace MatterHackers.MatterControl
|
|||
fit.MakeNameNonColliding();
|
||||
|
||||
scene.UndoBuffer.AddAndDo(new ReplaceCommand(new List<IObject3D> { selectedItem }, new List<IObject3D> { fit }));
|
||||
|
||||
scene.SelectedItem = fit;
|
||||
},
|
||||
//Icon = AggContext.StaticData.LoadIcon("array_linear.png").SetPreMultiply(),
|
||||
Icon = AggContext.StaticData.LoadIcon("fit.png", 16, 16, theme.InvertIcons),
|
||||
IsEnabled = (scene) => scene.HasSelection && !(scene.SelectedItem is SelectionGroup),
|
||||
},
|
||||
};
|
||||
|
|
|
|||
BIN
StaticData/Icons/fit.png
Normal file
BIN
StaticData/Icons/fit.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 957 B |
Loading…
Add table
Add a link
Reference in a new issue