Update to match change to ChatDisplay interface.

git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@847 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
Ray Greenwell
2009-08-15 00:16:07 +00:00
parent e328b428bd
commit d8ae0c7877
+1 -3
View File
@@ -59,8 +59,7 @@ public class ChatDisplayBox extends TextArea
}
// documentation inherited from interface ChatDisplay
public function displayMessage (
msg :ChatMessage, alreadyDisplayed :Boolean) :Boolean
public function displayMessage (msg :ChatMessage) :void
{
if (!_scrollBot) {
_scrollBot = (verticalScrollPosition == maxVerticalScrollPosition);
@@ -72,7 +71,6 @@ public class ChatDisplayBox extends TextArea
(msg as UserMessage).speaker + "&gt;</font> ";
}
this.htmlText += msg.message;
return true;
}
// handle us being added or removed from the stage