mirror of
https://github.com/amevarashi/RJW-Sexperience.git
synced 2024-08-14 23:54:08 +00:00
Fix Rect calculation for settings tabs
This commit is contained in:
parent
bf913240ed
commit
e8211a1f3b
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ namespace RJWSexperience
|
||||||
if (tabRecords.NullOrEmpty())
|
if (tabRecords.NullOrEmpty())
|
||||||
InitTabRecords();
|
InitTabRecords();
|
||||||
|
|
||||||
Rect contentRect = inRect.ContractedBy(TabDrawer.TabHeight);
|
Rect contentRect = inRect.BottomPartPixels(inRect.height - TabDrawer.TabHeight);
|
||||||
|
|
||||||
_ = TabDrawer.DrawTabs(contentRect, tabRecords);
|
_ = TabDrawer.DrawTabs(contentRect, tabRecords);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue