Roll this back. You don't even want to see the unchecked-in code I also trashed.

Too bad the bitchy comment about adobe goes too.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@692 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
Ray Greenwell
2008-11-10 20:54:56 +00:00
parent e14212f5b4
commit 6294232dce
+3 -11
View File
@@ -62,21 +62,13 @@ public class FlexUtil
/**
* Create an uneditable/unselectable multiline Text widget with the specified text and width.
*/
public static function createText (
text :String, width :int, style :String = null, html :Boolean = false) :Text
public static function createText (text :String, width :int, style :String = null) :Text
{
var t :Text = new Text();
t.styleName = style;
t.width = width;
if (html) {
// I want selectable = false here too, but that makes links not work. They still
// have a hand cursor, you can still click the fucking things, but they don't
// work. WHY ADOBE WHY YOU RANCID PIEFUCKERS?
t.htmlText = text;
} else {
t.selectable = false;
t.text = text;
}
t.selectable = false;
t.text = text;
return t;
}