libgdx/libgdx — pull request #456 by SG57 (2013-06-03 06:50:28+00:00)
Title: SelectBox: maxListCount off-by-one bug quick fix

The obsolete height-fitting code wasn't removed and is creating a chance to cause an off-by-one-item bug in the drop down box due to a possible precision loss from [ height -= height % itemHeight ].

The problematic height fitting code is obsolete and unncessary as of the patch implementing maxListCount where the height is now calculated off the desired number of items and not prefHeight(). This fix simply removes the old code.