mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
further validator cleanups
bump default fidelity from 0,0001 to 0.01 fix F32Range. needs to go from - to +, not smallest to largest positive value fix several misasigned validator ranges. most of which use some form of -1 default to do a Special Thing
This commit is contained in:
parent
1ebe48edbd
commit
fcd2d38deb
9 changed files with 16 additions and 16 deletions
|
|
@ -111,7 +111,7 @@ void GuiScrollCtrl::initPersistFields()
|
|||
addField( "constantThumbHeight", TypeBool, Offset(mUseConstantHeightThumb, GuiScrollCtrl));
|
||||
addField( "childMargin", TypePoint2I, Offset(mChildMargin, GuiScrollCtrl),
|
||||
"Padding region to put around child contents." );
|
||||
addFieldV( "mouseWheelScrollSpeed", TypeRangedS32, Offset(mScrollAnimSpeed, GuiScrollCtrl), &CommonValidators::PositiveInt,
|
||||
addFieldV( "mouseWheelScrollSpeed", TypeRangedS32, Offset(mScrollAnimSpeed, GuiScrollCtrl), &CommonValidators::NegDefaultInt,
|
||||
"Pixels/Tick - if not positive then mousewheel scrolling occurs instantly (like other scrolling).");
|
||||
|
||||
endGroup( "Scrolling" );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue