forked from mirrors/0ad
Autocomplete observer nicks in-game. Patch by elexis. Fixes #3203.
This was SVN commit r16604.
This commit is contained in:
@@ -197,7 +197,12 @@
|
||||
<object name="chatDialogPanel" size="50%-180 50%-48 50%+180 50%+36" type="image" hidden="true" sprite="genericPanel">
|
||||
<object name="chatInput" size="16 12 100%-16 36" type="input" style="ModernInput" max_length="80">
|
||||
<action on="Press">submitChatInput();</action>
|
||||
<action on="Tab">autoCompleteNick("chatInput", g_Players);</action>
|
||||
<action on="Tab">
|
||||
var players = [];
|
||||
for (var player in g_PlayerAssignments)
|
||||
players.push(g_PlayerAssignments[player]);
|
||||
autoCompleteNick("chatInput", players);
|
||||
</action>
|
||||
</object>
|
||||
|
||||
<object size="16 100%-40 30%+16 100%-12" type="button" style="StoneButton">
|
||||
|
||||
Reference in New Issue
Block a user