0 Replies Latest reply on May 20, 2009 3:25 PM by Carol L. Frampton

    [svn:fx-trunk] 7153: When measuring go large and revert back to Math. ceil rather than Math.round when measuring to try to avoid a scrollRect.

    Carol L. Frampton Level 2

      Revision: 7153

      Author:   cframpto@adobe.com

      Date:     2009-05-20 13:56:47 -0700 (Wed, 20 May 2009)

       

      Log Message:

      ***********

      When measuring go large and revert back to Math.ceil rather than Math.round when measuring to try to avoid a scrollRect.  We saw this come into play with Corey's TextInput performance test.  Since TextInput components are only 1 line high, if we're low even by a fraction of a pixel in our guesstimate of the line height a scrollRect comes into play.

       

      QA Notes:

      Doc Notes:

      Bugs:

      Reviewers: Corey

       

      Modified Paths:

      **************

          flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichEditableText.as