flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ha...@apache.org
Subject git commit: [flex-sdk] [refs/heads/develop] - This closes #37
Date Wed, 18 Nov 2015 21:20:01 GMT
Repository: flex-sdk
Updated Branches:
  refs/heads/develop aee1a2fa0 -> 813fb8eed


This closes #37


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

Branch: refs/heads/develop
Commit: 813fb8eed7fd85fd6a409bb398dbff51bab96124
Parents: aee1a2f
Author: Harbs <harbs@in-tools.com>
Authored: Wed Nov 18 23:19:53 2015 +0200
Committer: Harbs <harbs@in-tools.com>
Committed: Wed Nov 18 23:19:53 2015 +0200

----------------------------------------------------------------------
 .../airspark/src/spark/components/WindowedApplication.as     | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/813fb8ee/frameworks/projects/airspark/src/spark/components/WindowedApplication.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/airspark/src/spark/components/WindowedApplication.as b/frameworks/projects/airspark/src/spark/components/WindowedApplication.as
index 8843e5a..6ca3094 100644
--- a/frameworks/projects/airspark/src/spark/components/WindowedApplication.as
+++ b/frameworks/projects/airspark/src/spark/components/WindowedApplication.as
@@ -690,7 +690,7 @@ public class WindowedApplication extends Application implements IWindow
      */
     override public function get maxHeight():Number
     {
-        if (nativeWindow && !maxHeightChanged)
+        if (nativeWindow && nativeWindow.maxSize && !maxHeightChanged)
             return nativeWindow.maxSize.y - chromeHeight();
         else
             return _maxHeight;
@@ -738,7 +738,7 @@ public class WindowedApplication extends Application implements IWindow
      */
     override public function get maxWidth():Number
     {
-        if (nativeWindow && !maxWidthChanged)
+        if (nativeWindow && nativeWindow.maxSize && !maxWidthChanged)
             return nativeWindow.maxSize.x - chromeWidth();
         else
             return _maxWidth;
@@ -792,7 +792,7 @@ public class WindowedApplication extends Application implements IWindow
      */
     override public function get minHeight():Number
     {
-        if (nativeWindow && !minHeightChanged)
+        if (nativeWindow && nativeWindow.minSize && !minHeightChanged)
             return nativeWindow.minSize.y - chromeHeight();
         else
             return _minHeight;
@@ -840,7 +840,7 @@ public class WindowedApplication extends Application implements IWindow
      */
     override public function get minWidth():Number
     {
-        if (nativeWindow && !minWidthChanged)
+        if (nativeWindow && nativeWindow.minSize && !minWidthChanged)
             return nativeWindow.minSize.x - chromeWidth();
         else
             return _minWidth;


Mime
View raw message