修正RecipeStep复制时比例值未被复制的问题。

This commit is contained in:
THINKPAD 2022-10-26 14:45:18 +08:00
parent ef13a36363
commit 81ed97f5e7
1 changed files with 4 additions and 0 deletions

View File

@ -1003,6 +1003,10 @@ namespace MECF.Framework.UI.Client.CenterViews.Editors.Recipe
{
((StringParam)targetParams[index]).Value = ((StringParam)_sourceParams[index]).Value;
}
else if (_sourceParams[index] is Sets3RatioParam)
{
((Sets3RatioParam)targetParams[index]).Value = ((Sets3RatioParam)_sourceParams[index]).Value;
}
else if (_sourceParams[index] is IntParam)
{
((IntParam)targetParams[index]).Value = ((IntParam)_sourceParams[index]).Value;