flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yish...@apache.org
Subject [1/2] git commit: [flex-asjs] [refs/heads/develop] - Make sure selected item doesn't mess with mdl styling
Date Wed, 26 Jul 2017 08:46:25 GMT
Repository: flex-asjs
Updated Branches:
  refs/heads/develop c3b6d3212 -> 8c2a6bc41


Make sure selected item doesn't mess with mdl styling


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

Branch: refs/heads/develop
Commit: 1644608e3c1fce8e3155e0daf3902fecdf9d93ff
Parents: a4a2bb3
Author: DESKTOP-RH4S838\Yishay <yishayjobs@hotmail.com>
Authored: Wed Jul 26 11:45:33 2017 +0300
Committer: DESKTOP-RH4S838\Yishay <yishayjobs@hotmail.com>
Committed: Wed Jul 26 11:45:33 2017 +0300

----------------------------------------------------------------------
 .../flex/org/apache/flex/mdl/itemRenderers/MenuItemRenderer.as  | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1644608e/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/itemRenderers/MenuItemRenderer.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/itemRenderers/MenuItemRenderer.as
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/itemRenderers/MenuItemRenderer.as
index f5c4fa3..7b4bc30 100644
--- a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/itemRenderers/MenuItemRenderer.as
+++ b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/itemRenderers/MenuItemRenderer.as
@@ -165,6 +165,11 @@ package org.apache.flex.mdl.itemRenderers
                 typeNames = element.className;
             }
 		}
+		
+		override public function updateRenderer():void
+		{
+			// don't change background-color, let mdl library take care of that.
+		}
 
         protected var _ripple:Boolean = false;
         /**


Mime
View raw message