Merge branch 'feature/1.4.0' of bitbucket.org:usaya/popcorn into feature/1.4.0

This commit is contained in:
koya_15 2022-06-03 20:01:59 +09:00
commit 0199bb7ebd
3 changed files with 5 additions and 5 deletions

View File

@ -49,7 +49,7 @@ public class RecipeSelectDialog : MonoBehaviour
var view = Instantiate(recipePrefab, content.transform);
view.SetRecipe(productData);
// 所持レシピ確認
if (gameData.MyRecipes.Contains(productData.id))
// if (gameData.MyRecipes.Contains(productData.id))
{
view.SetLockPanel(false);
view.RecipeClickObservable.ThrottleFirst(TimeSpan.FromSeconds(.3f)).Subscribe(_ =>
@ -58,10 +58,10 @@ public class RecipeSelectDialog : MonoBehaviour
RecipeDetailView.ShowDialog();
}).AddTo(this);
}
else
{
view.SetLockPanel(true);
}
// else
// {
// view.SetLockPanel(true);
// }
}
LayoutRebuilder.ForceRebuildLayoutImmediate(content);
scrollRect.verticalNormalizedPosition = 1;