Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-15433

mx.effects.interpolation.ColorInterpolator - Interpolate Method Has Unecessary Line of Code

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • Effects
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Browser: Internet Explorer 7.x
      Language Found: English

    Description

      The last two lines of the "interpolate" method:

      var newColor:uint = newR << 16 | newG << 8 | newB;
      return newR << 16 | newG << 8 | newB;

      Just return (newColor);

      Sorry to be lame/picky, just saw that and thought we don't need to do the calc twice.

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: