Merge branch 'feature/1.4.0' of bitbucket.org:usaya/popcorn into feature/1.4.0
This commit is contained in:
commit
0199bb7ebd
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue