Fix Rect calculation for settings tabs

This commit is contained in:
amevarashi 2022-05-11 18:18:16 +05:00
parent bf913240ed
commit e8211a1f3b
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ namespace RJWSexperience
if (tabRecords.NullOrEmpty())
InitTabRecords();
Rect contentRect = inRect.ContractedBy(TabDrawer.TabHeight);
Rect contentRect = inRect.BottomPartPixels(inRect.height - TabDrawer.TabHeight);
_ = TabDrawer.DrawTabs(contentRect, tabRecords);