0 Replies Latest reply on Nov 18, 2009 1:21 PM by kevinklin

    [svn:fx-trunk] 11954: Fix for https://bugs.adobe.com/jira/browse/SDK-24177.

    kevinklin Adobe Employee

      Revision: 11954

      Revision: 11954

      Author:   klin@adobe.com

      Date:     2009-11-18 13:21:21 -0800 (Wed, 18 Nov 2009)

      Log Message:

      ***********

      Fix for https://bugs.adobe.com/jira/browse/SDK-24177. ScrollBar and Slider implementations were not taking into account the case of when the thumb and track had different parents. I've added logic to convert the position from the track's coordinates to global coordinates and then to the thumb's parent's coordinates.

       

      QE notes: No

      Doc notes: No

      Bugs: SDK-24177

      Reviewer: Glenn

      Tests run: checkintests, ScrollBar, Slider

      Is noteworthy for integration: Yes, ScrollBars should work correctly if thumb and track are in separate groups

       

      Ticket Links:

      ***********

          http://bugs.adobe.com/jira/browse/SDK-24177

          http://bugs.adobe.com/jira/browse/SDK-24177

       

      Modified Paths:

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

          flex/sdk/trunk/frameworks/projects/spark/src/spark/components/HScrollBar.as

          flex/sdk/trunk/frameworks/projects/spark/src/spark/components/HSlider.as

          flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VScrollBar.as

          flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VSlider.as