You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ha...@apache.org on 2018/06/11 18:31:19 UTC
[royale-asjs] branch feature/revert-refactor updated: override
visible getter and setter to make more sense for Dialog
This is an automated email from the ASF dual-hosted git repository.
harbs pushed a commit to branch feature/revert-refactor
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/feature/revert-refactor by this push:
new b785dc6 override visible getter and setter to make more sense for Dialog
b785dc6 is described below
commit b785dc69f0a578ba6f12acedc51bdb2de3c8db46
Author: Harbs <ha...@in-tools.com>
AuthorDate: Mon Jun 11 21:31:09 2018 +0300
override visible getter and setter to make more sense for Dialog
---
.../src/main/royale/org/apache/royale/mdl/Dialog.as | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/frameworks/projects/MaterialDesignLite/src/main/royale/org/apache/royale/mdl/Dialog.as b/frameworks/projects/MaterialDesignLite/src/main/royale/org/apache/royale/mdl/Dialog.as
index 56f376d..ff7ea62 100644
--- a/frameworks/projects/MaterialDesignLite/src/main/royale/org/apache/royale/mdl/Dialog.as
+++ b/frameworks/projects/MaterialDesignLite/src/main/royale/org/apache/royale/mdl/Dialog.as
@@ -187,5 +187,15 @@ package org.apache.royale.mdl
{
return _open;
}
+
+ override public function get visible():Boolean{
+ return _open;
+ }
+ override public function set visible(value:Boolean):void{
+ if(value)
+ show();
+ else
+ close();
+ }
}
}
--
To stop receiving notification emails like this one, please contact
harbs@apache.org.