Merge pull request #1570 from Azaezel/alpha41/consoleCleanupos

misc cleanups related to ranges
This commit is contained in:
Brian Roberts 2025-10-07 18:07:05 -05:00 committed by GitHub
commit 7a0ae4c7af
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 19 additions and 11 deletions

View file

@ -120,7 +120,7 @@ void GuiTabBookCtrl::initPersistFields()
"Index of page to select on first onWake() call (-1 to disable)." );
addProtectedFieldV( "selectedPage", TypeRangedS32, Offset( mSelectedPageNum, GuiTabBookCtrl ),
&_setSelectedPage, &defaultProtectedGetFn, &CommonValidators::PositiveInt,
&_setSelectedPage, &defaultProtectedGetFn, &CommonValidators::NegDefaultInt,
"Index of currently selected page." );
addField( "frontTabPadding", TypeS32, Offset( mFrontTabPadding, GuiTabBookCtrl ),