Bad Nathan! Avoid "if true then true" coding. I need a snappier name for

this ugly pattern.
FYI, CommandButton also has buttonMode follow enabled-ness.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@493 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
Ray Greenwell
2008-05-14 00:29:43 +00:00
parent 0378cabcaa
commit 65ff4b70b9
@@ -53,12 +53,7 @@ public class CommandLinkButton extends LinkButton
override public function set enabled (enable :Boolean) :void
{
super.enabled = enable;
if (enable) {
buttonMode = true;
} else {
buttonMode = false;
}
buttonMode = enable;
}
/**