Explicitly set position to absolute to fix slider button not moving

Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/fd709d13
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/fd709d13
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/fd709d13

Branch: refs/heads/dual
Commit: fd709d137e5f740fd3a7f7dfbcde0e898e25f103
Parents: c6b4f8a
Author: DESKTOP-RH4S838\Yishay <[email protected]>
Authored: Fri Apr 28 06:46:32 2017 +0300
Committer: DESKTOP-RH4S838\Yishay <[email protected]>
Committed: Fri Apr 28 06:46:32 2017 +0300

----------------------------------------------------------------------
 frameworks/projects/Core/.actionScriptProperties                 | 1 +
 frameworks/projects/Graphics/.actionScriptProperties             | 1 +
 frameworks/projects/HTML/.actionScriptProperties                 | 1 +
 .../HTML/src/main/flex/org/apache/flex/html/beads/SliderView.as  | 4 ++++
 4 files changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fd709d13/frameworks/projects/Core/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/.actionScriptProperties 
b/frameworks/projects/Core/.actionScriptProperties
index b29cfae..0a9a092 100644
--- a/frameworks/projects/Core/.actionScriptProperties
+++ b/frameworks/projects/Core/.actionScriptProperties
@@ -55,3 +55,4 @@ limitations under the License.
   <buildCSSFiles/>
   <flashCatalyst validateFlashCatalystCompatibility="false"/>
 </actionScriptProperties>
+

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fd709d13/frameworks/projects/Graphics/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/.actionScriptProperties 
b/frameworks/projects/Graphics/.actionScriptProperties
index 355befe..c93a464 100644
--- a/frameworks/projects/Graphics/.actionScriptProperties
+++ b/frameworks/projects/Graphics/.actionScriptProperties
@@ -36,3 +36,4 @@ limitations under the License.
   <buildCSSFiles/>
   <flashCatalyst validateFlashCatalystCompatibility="false"/>
 </actionScriptProperties>
+

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fd709d13/frameworks/projects/HTML/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/.actionScriptProperties 
b/frameworks/projects/HTML/.actionScriptProperties
index f491247..1897941 100644
--- a/frameworks/projects/HTML/.actionScriptProperties
+++ b/frameworks/projects/HTML/.actionScriptProperties
@@ -39,3 +39,4 @@ limitations under the License.
   <buildCSSFiles/>
   <flashCatalyst validateFlashCatalystCompatibility="false"/>
 </actionScriptProperties>
+

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fd709d13/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/SliderView.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/SliderView.as
 
b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/SliderView.as
index ea31cf9..009fb8c 100644
--- 
a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/SliderView.as
+++ 
b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/SliderView.as
@@ -184,6 +184,10 @@ package org.apache.flex.html.beads
                {
                        var p:Number = 
(value-rangeModel.minimum)/(rangeModel.maximum-rangeModel.minimum);
                        var xloc:Number = (p*_track.width); 
+                       COMPILE::JS
+                       {
+                               _thumb.element.style.position = 'absolute';
+                       }
                        _thumb.x = xloc;
                }
        }

Reply via email to