You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ah...@apache.org on 2018/11/08 19:17:18 UTC
[royale-asjs] branch develop updated (1a175e8 -> e1d0e6c)
This is an automated email from the ASF dual-hosted git repository.
aharui pushed a change to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git.
from 1a175e8 Tuning to the model hierarchy for List/Combo/DropDown - aiming for consistent behaviour
new 68258f5 force redraw
new d864f43 fix dual style lookup
new e1d0e6c 0 lineweight is really more like 0.5
The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../MXRoyale/src/main/royale/mx/charts/GridLines.as | 15 +++++++++++++++
.../royale/mx/charts/chartClasses/DualStyleObject.as | 18 ++++++++++++++++++
.../MXRoyale/src/main/royale/mx/display/Graphics.as | 4 ++--
3 files changed, 35 insertions(+), 2 deletions(-)
[royale-asjs] 01/03: force redraw
Posted by ah...@apache.org.
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 68258f5889ead881aa6c140c35271efba21cc48d
Author: Alex Harui <ah...@apache.org>
AuthorDate: Thu Nov 8 11:15:49 2018 -0800
force redraw
---
.../MXRoyale/src/main/royale/mx/charts/GridLines.as | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/GridLines.as b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/GridLines.as
index 7130058..ce07541 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/GridLines.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/GridLines.as
@@ -677,6 +677,21 @@ public class GridLines extends ChartElement
{
invalidateDisplayList();
}
+
+ /**
+ * @inheritDoc
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ override public function setActualSize(w:Number, h:Number):void
+ {
+ super.setActualSize(w, h);
+ updateDisplayList(w, h);
+ }
+
}
}
[royale-asjs] 03/03: 0 lineweight is really more like 0.5
Posted by ah...@apache.org.
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 e1d0e6caff9a2b923100933d68c1f5f2468bdacc
Author: Alex Harui <ah...@apache.org>
AuthorDate: Thu Nov 8 11:16:29 2018 -0800
0 lineweight is really more like 0.5
---
frameworks/projects/MXRoyale/src/main/royale/mx/display/Graphics.as | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/display/Graphics.as b/frameworks/projects/MXRoyale/src/main/royale/mx/display/Graphics.as
index 129370a..01aa824 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/display/Graphics.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/display/Graphics.as
@@ -181,7 +181,7 @@ package mx.display
{
}
- private var thickness:int;
+ private var thickness:Number = 0.5;
private var color:uint = 0;
private var alpha:Number = 1.0;
@@ -193,7 +193,7 @@ package mx.display
}
COMPILE::JS
{
- this.thickness = thickness;
+ this.thickness = thickness == 0 ? 0.5 : thickness;
this.color = color;
this.alpha = alpha;
}
[royale-asjs] 02/03: fix dual style lookup
Posted by ah...@apache.org.
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 d864f43dea6aff12b7b9d372e1d84441c7f460f9
Author: Alex Harui <ah...@apache.org>
AuthorDate: Thu Nov 8 11:16:07 2018 -0800
fix dual style lookup
---
.../royale/mx/charts/chartClasses/DualStyleObject.as | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/chartClasses/DualStyleObject.as b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/chartClasses/DualStyleObject.as
index 82fd857..3fe18de 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/chartClasses/DualStyleObject.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/chartClasses/DualStyleObject.as
@@ -279,6 +279,24 @@ public class DualStyleObject extends UIComponent
}
*/
+
+ override public function getStyle(styleProp:String):*
+ {
+ var value:*;
+ if (internalStyleName != null)
+ {
+ var internalClassSelector:CSSStyleDeclaration;
+ internalClassSelector =
+ styleManager.getStyleDeclaration("." + internalStyleName);
+ value = internalClassSelector.getStyle(styleProp);
+ }
+ if (value === undefined)
+ {
+ value = super.getStyle(styleProp)
+ }
+ return value;
+ }
+
}
}