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