This is an automated email from the ASF dual-hosted git repository.

aharui pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git

commit f5ff2ec5053d603ba90cd0506fd66ae2bedb6ef3
Author: Alex Harui <[email protected]>
AuthorDate: Thu Nov 26 18:20:24 2020 -0800

    Revert "Temp fix for #952".  Try a different strategy in upcoming commit
    
    This reverts commit a71a8bd25a7ec4d2eef9ac7c0ddd544b61423cee.
---
 .../royale/spark/components/supportClasses/DropDownListButton.as    | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git 
a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/supportClasses/DropDownListButton.as
 
b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/supportClasses/DropDownListButton.as
index 72c5c05..e3bdd9f 100644
--- 
a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/supportClasses/DropDownListButton.as
+++ 
b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/supportClasses/DropDownListButton.as
@@ -65,11 +65,7 @@ package spark.components.supportClasses
         private function updateSkin(w:Number, h:Number):void
         {
                        var clipid:String = "txtClip" + instanceId;
-                       // temp fix for 
https://github.com/apache/royale-asjs/issues/952
-                       //if (h < 4) return;
-                       if (h < 15) 
-                               return;
-                       h = h - 10;
+                       if (h < 4) return;
             element.innerHTML = '<svg width="' + w + 'px" height="' +
                 h + 'px" xmlns="http://www.w3.org/2000/svg";><clipPath id="' + 
clipid + '"><rect x="0" y="0" height="' + h + 
                                'px" width="' + (w - 29) + 
'px"/></clipPath><text y="3px" clip-path="url(#' + clipid + ')">' +

Reply via email to