Small Fixes

-----------

-Added Ability for centering on top left for centercontainer
-Added ability to bind more than 5 parameters (must include an extra file)
This commit is contained in:
Juan Linietsky
2014-09-17 11:53:29 -03:00
parent 64b01d6ce0
commit fa004d5c0f
10 changed files with 161 additions and 23 deletions

View File

@@ -1738,9 +1738,9 @@ float Control::_a2s(float p_val, AnchorType p_anchor,float p_range) const {
case ANCHOR_RATIO: {
return Math::floor(p_range*p_val);
} break;
case ANCHOR_CENTER: {
return Math::floor((p_range/2)-p_val);
} break;
case ANCHOR_CENTER: {
return Math::floor((p_range/2)-p_val);
} break;
}
return 0;
}