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:
@@ -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 + "></font> ";
|
||||
}
|
||||
this.htmlText += msg.message;
|
||||
return true;
|
||||
}
|
||||
|
||||
// handle us being added or removed from the stage
|
||||
|
||||
Reference in New Issue
Block a user