You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by pi...@apache.org on 2016/12/04 04:48:18 UTC
git commit: [flex-asjs] [refs/heads/develop] - Remove shadow around
delete icon in DeletableChip
Repository: flex-asjs
Updated Branches:
refs/heads/develop 27ce7e91f -> c06d0a581
Remove shadow around delete icon in DeletableChip
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/c06d0a58
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/c06d0a58
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/c06d0a58
Branch: refs/heads/develop
Commit: c06d0a5812385fd47f95f67fffddf6c61c65803a
Parents: 27ce7e9
Author: piotrz <pi...@apache.org>
Authored: Sun Dec 4 05:48:11 2016 +0100
Committer: piotrz <pi...@apache.org>
Committed: Sun Dec 4 05:48:11 2016 +0100
----------------------------------------------------------------------
.../src/main/flex/org/apache/flex/mdl/beads/DeletableChip.as | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c06d0a58/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/DeletableChip.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/DeletableChip.as b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/DeletableChip.as
index c6956a5..8c2ddcd 100644
--- a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/DeletableChip.as
+++ b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/DeletableChip.as
@@ -95,10 +95,10 @@ package org.apache.flex.mdl.beads
var iconBead:IBead = StrandUtils.loadBead(MaterialIconBase, "MaterialIconBase", _strand);
var deleteButton:Button = new Button();
- deleteButton.icon = true;
deleteButton.addBead(iconBead);
var htmlButton:HTMLElement = (deleteButton.element as HTMLElement);
+ htmlButton.classList.remove("mdl-button", "mdl-js-button");
htmlButton.classList.add("mdl-chip__action");
return htmlButton;