mirror of
https://gitgud.io/lutepickle/rjw_menstruation.git
synced 2024-08-14 22:46:52 +00:00
1.0.4.2a
This commit is contained in:
parent
6d6546a071
commit
b41f8402a1
3 changed files with 6 additions and 3 deletions
Binary file not shown.
|
@ -1,3 +1,6 @@
|
|||
Version 1.0.4.2a
|
||||
- fixed hybrid custom UI
|
||||
|
||||
Version 1.0.4.2
|
||||
- fixed errors on hybrid custom
|
||||
- fixed errors on pregnancy
|
||||
|
|
|
@ -336,12 +336,12 @@ namespace RJW_Menstruation
|
|||
float additionalHeight = 0f;
|
||||
if (!info.hybridExtension.NullOrEmpty()) foreach(HybridExtensionExposable e in info.hybridExtension)
|
||||
{
|
||||
additionalHeight += e.hybridInfo?.Count() ?? 1 * rowH;
|
||||
additionalHeight += (e.hybridInfo?.Count() ?? 1) * rowH;
|
||||
}
|
||||
|
||||
|
||||
Rect outRect = new Rect(inRect.x, inRect.y + 30f, inRect.width, inRect.height - 30f);
|
||||
Rect mainRect = new Rect(inRect.x, inRect.y + 30f, inRect.width - 30f, rowH * info.hybridExtension?.Count() ?? 1 + additionalHeight);
|
||||
Rect mainRect = new Rect(inRect.x, inRect.y + 30f, inRect.width - 30f, rowH * (info.hybridExtension?.Count() ?? 1) + additionalHeight);
|
||||
Listing_Standard listmain = new Listing_Standard();
|
||||
|
||||
listmain.BeginScrollView(outRect, ref scroll, ref mainRect);
|
||||
|
@ -351,7 +351,7 @@ namespace RJW_Menstruation
|
|||
{
|
||||
foreach (HybridExtensionExposable extension in info.hybridExtension)
|
||||
{
|
||||
DoRow(listmain.GetRect(rowH + rowH * extension.hybridInfo?.Count() ?? 1), extension);
|
||||
DoRow(listmain.GetRect(rowH + rowH * (extension.hybridInfo?.Count() ?? 1)), extension);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue