Remove redundant cast
This commit is contained in:
parent
03531de958
commit
b4c241a754
1 changed files with 2 additions and 2 deletions
|
|
@ -96,12 +96,12 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
|
||||
private void SetPositionAndValue(object sender, EventArgs e)
|
||||
{
|
||||
UiThread.RunOnIdle((Action)(() =>
|
||||
UiThread.RunOnIdle(() =>
|
||||
{
|
||||
currentLayerInfo.Value = sceneContext.ActiveLayerIndex;
|
||||
currentLayerInfo.Position = new Vector2(0, (double)(layerSlider.Position.Y + layerSlider.PositionPixelsFromFirstValue - 3));
|
||||
currentLayerInfo.Visible = true;
|
||||
}));
|
||||
});
|
||||
}
|
||||
|
||||
private class LayerScrollbar : FlowLayoutWidget
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue